projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73388cc
)
sh: Fix a sign extension bug in memset().
author
Toshinobu Sugioka
<sugioka@itonet.co.jp>
Wed, 27 Sep 2006 05:13:14 +0000
(14:13 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 27 Sep 2006 05:13:14 +0000
(14:13 +0900)
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>
arch/sh/lib/memset.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/lib/memset.S
b/arch/sh/lib/memset.S
index 95670090680e5d5c6e6396c1a730a1ade66edd97..af91fe2b72a66e571ed3c7f08fca44b68f4a4565 100644
(file)
--- 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