mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08: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:
parent
d2bf98e6fc
commit
4bb30baa6d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user