1 #ifndef _ASM_S390_FUTEX_H
2 #define _ASM_S390_FUTEX_H
4 #include <linux/futex.h>
10 int op = (encoded_op >> 28) & 7;
11 int cmp = (encoded_op >> 24) & 15;
12 int oparg = (encoded_op << 8) >> 20;
13 int cmparg = (encoded_op << 20) >> 20;
23 ret =
uaccess.futex_atomic_op(op, uaddr, oparg, &oldval);
40 static inline int futex_atomic_cmpxchg_inatomic(
u32 *uval,
u32 __user *uaddr,
46 return uaccess.futex_atomic_cmpxchg(uval, uaddr, oldval, newval);