1 #ifndef __ASM_SH_FUTEX_CAS_H
2 #define __ASM_SH_FUTEX_CAS_H
4 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval,
6 u32 oldval, u32 newval)
14 ".section .fixup,\"ax\"\n"
22 ".section __ex_table,\"a\"\n\t"
26 :"+r" (err), "+r" (newval)
27 :"r" (oldval), "i" (-EFAULT), "z" (uaddr)
34 #endif /* __ASM_SH_FUTEX_CAS_H */