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);
|
__futex_atomic_op("or %1,%0,%4;", ret, oldval, uaddr, oparg);
|
||||||
break;
|
break;
|
||||||
case FUTEX_OP_ANDN:
|
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;
|
break;
|
||||||
case FUTEX_OP_XOR:
|
case FUTEX_OP_XOR:
|
||||||
__futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg);
|
__futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg);
|
||||||
|
|
Loading…
Reference in a new issue