diff options
author | Toshinobu Sugioka <sugioka@itonet.co.jp> | 2006-09-27 05:13:14 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 05:13:14 (GMT) |
commit | e7be853df79fe8ae08ba7d933bd21e1dbb0db7bc (patch) | |
tree | 0285f786e261017e42e05c080978e1c4b8d55f5d | |
parent | 73388cc7c648861742e584a97fbffed16afc7dc3 (diff) | |
download | linux-fsl-qoriq-e7be853df79fe8ae08ba7d933bd21e1dbb0db7bc.tar.xz |
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>
-rw-r--r-- | arch/sh/lib/memset.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/lib/memset.S b/arch/sh/lib/memset.S index 9567009..af91fe2 100644 --- a/arch/sh/lib/memset.S +++ b/arch/sh/lib/memset.S @@ -29,6 +29,7 @@ ENTRY(memset) bf/s 1b mov.b r5,@-r4 2: ! make VVVV + extu.b r5,r5 swap.b r5,r0 ! V0 or r0,r5 ! VV swap.w r5,r0 ! VV00 |