Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Fix a sign extension bug in memset().

Minor sign-extension bug in SH-specific memset()..

Signed-off-by: Toshinobu Sugioka <sugioka@itonet.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by

Toshinobu Sugioka and committed by
Paul Mundt
e7be853d 73388cc7

+1
+1
arch/sh/lib/memset.S
··· 29 29 bf/s 1b 30 30 mov.b r5,@-r4 31 31 2: ! make VVVV 32 + extu.b r5,r5 32 33 swap.b r5,r0 ! V0 33 34 or r0,r5 ! VV 34 35 swap.w r5,r0 ! VV00