avr32/lib: fix unaligned memcpy where len < 4
commit251ab1a37d9ba810593d5fbf2482bc4ba773fab2
authorSebastian Andrzej Siewior <bigeasy@breakpoint.cc>
Sun, 26 Jul 2009 12:58:34 +0000 (26 14:58 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 27 Jul 2009 10:37:28 +0000 (27 12:37 +0200)
tree93eeb758d45df736601e5082c0c93a51f600d08a
parent505d62d073b528859b43bfb463a6ceaf3581469e
avr32/lib: fix unaligned memcpy where len < 4

in case of memcpy(p, unaligned, 1..3) we get 1..3 as the
return value instead of p

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/lib/memcpy.S