diff options
Diffstat (limited to 'include/asm-generic/futex.h')
| -rw-r--r-- | include/asm-generic/futex.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-generic/futex.h b/include/asm-generic/futex.h index f422df0956a2..3c2344f48136 100644 --- a/include/asm-generic/futex.h +++ b/include/asm-generic/futex.h | |||
| @@ -1,11 +1,9 @@ | |||
| 1 | #ifndef _ASM_GENERIC_FUTEX_H | 1 | #ifndef _ASM_GENERIC_FUTEX_H |
| 2 | #define _ASM_GENERIC_FUTEX_H | 2 | #define _ASM_GENERIC_FUTEX_H |
| 3 | 3 | ||
| 4 | #ifdef __KERNEL__ | ||
| 5 | |||
| 6 | #include <linux/futex.h> | 4 | #include <linux/futex.h> |
| 5 | #include <linux/uaccess.h> | ||
| 7 | #include <asm/errno.h> | 6 | #include <asm/errno.h> |
| 8 | #include <asm/uaccess.h> | ||
| 9 | 7 | ||
| 10 | static inline int | 8 | static inline int |
| 11 | futex_atomic_op_inuser (int encoded_op, int __user *uaddr) | 9 | futex_atomic_op_inuser (int encoded_op, int __user *uaddr) |
| @@ -56,4 +54,3 @@ futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) | |||
| 56 | } | 54 | } |
| 57 | 55 | ||
| 58 | #endif | 56 | #endif |
| 59 | #endif | ||
