Merge remote-tracking branch 'remotes/powerpc/topic/xive' into kvm-ppc-next
[linux/fpc-iii.git] / arch / frv / include / asm / futex.h
blob2e1da71e27a45a75f96ef0b91d1f35a71480b2c4
1 #ifndef _ASM_FUTEX_H
2 #define _ASM_FUTEX_H
4 #ifdef __KERNEL__
6 #include <linux/futex.h>
7 #include <asm/errno.h>
8 #include <linux/uaccess.h>
10 extern int futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr);
12 static inline int
13 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
14 u32 oldval, u32 newval)
16 return -ENOSYS;
19 #endif
20 #endif