projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2bf98e
)
microblaze: Fix futex code
author
Michal Simek
<monstr@monstr.eu>
Tue, 6 Apr 2010 16:51:37 +0000
(18:51 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Wed, 7 Apr 2010 05:27:25 +0000
(07:27 +0200)
Use logical and NOT for ANDN. It was likely type fault.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/futex.h
patch
|
blob
|
history
diff --git
a/arch/microblaze/include/asm/futex.h
b/arch/microblaze/include/asm/futex.h
index 8dbb6e7a03a2183c135656ca4fee82e302223885..ad3fd61b2fe7eff6689e72a9e6936093e226740d 100644
(file)
--- a/
arch/microblaze/include/asm/futex.h
+++ b/
arch/microblaze/include/asm/futex.h
@@
-55,7
+55,7
@@
futex_atomic_op_inuser(int encoded_op, int __user *uaddr)
__futex_atomic_op("or %1,%0,%4;", ret, oldval, uaddr, oparg);
break;
case FUTEX_OP_ANDN:
- __futex_atomic_op("and %1,%0,%4;", ret, oldval, uaddr, oparg);
+ __futex_atomic_op("and
n
%1,%0,%4;", ret, oldval, uaddr, oparg);
break;
case FUTEX_OP_XOR:
__futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg);