diff options
author | Michal Simek <monstr@monstr.eu> | 2010-04-06 18:51:37 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-04-07 07:27:25 +0200 |
commit | 4bb30baa6d5e7660c06e3b50d8a8a76d402c7170 (patch) | |
tree | 5a713a42b41ba7d7d230cb5730fba1148e3cde17 /arch/microblaze | |
parent | d2bf98e6fc2612cbd2fc40f75a1e2c5d60262331 (diff) | |
download | linux-4bb30baa6d5e7660c06e3b50d8a8a76d402c7170.tar.gz linux-4bb30baa6d5e7660c06e3b50d8a8a76d402c7170.tar.bz2 linux-4bb30baa6d5e7660c06e3b50d8a8a76d402c7170.zip |
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')
-rw-r--r-- | arch/microblaze/include/asm/futex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/futex.h b/arch/microblaze/include/asm/futex.h index 8dbb6e7a03a2..ad3fd61b2fe7 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); |