futex.h 375 B

12345678910111213141516171819202122
  1. #ifndef _ASM_FUTEX_H
  2. #define _ASM_FUTEX_H
  3. #ifdef __KERNEL__
  4. #include <linux/futex.h>
  5. #include <asm/errno.h>
  6. #include <asm/uaccess.h>
  7. extern int arch_futex_atomic_op_inuser(int op, int oparg, int *oval,
  8. u32 __user *uaddr);
  9. static inline int
  10. futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
  11. u32 oldval, u32 newval)
  12. {
  13. return -ENOSYS;
  14. }
  15. #endif
  16. #endif