mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-10-16 15:59:14 -05:00
microblaze: Fix futex code
Use logical and NOT for ANDN. It was likely type fault. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user