summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/futex.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-06 16:51:37 (GMT)
committerMichal Simek <monstr@monstr.eu>2010-04-07 05:27:25 (GMT)
commit4bb30baa6d5e7660c06e3b50d8a8a76d402c7170 (patch)
tree5a713a42b41ba7d7d230cb5730fba1148e3cde17 /arch/microblaze/include/asm/futex.h
parentd2bf98e6fc2612cbd2fc40f75a1e2c5d60262331 (diff)
downloadlinux-4bb30baa6d5e7660c06e3b50d8a8a76d402c7170.tar.xz
microblaze: Fix futex code
Use logical and NOT for ANDN. It was likely type fault. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/futex.h')
-rw-r--r--arch/microblaze/include/asm/futex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/futex.h b/arch/microblaze/include/asm/futex.h
index 8dbb6e7..ad3fd61 100644
--- 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("andn %1,%0,%4;", ret, oldval, uaddr, oparg);
break;
case FUTEX_OP_XOR:
__futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg);