diff options
Diffstat (limited to 'include/asm-x86_64/futex.h')
-rw-r--r-- | include/asm-x86_64/futex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/futex.h b/include/asm-x86_64/futex.h index 7d9eb1a84546..9804bf07b092 100644 --- a/include/asm-x86_64/futex.h +++ b/include/asm-x86_64/futex.h | |||
@@ -95,7 +95,7 @@ futex_atomic_op_inuser (int encoded_op, int __user *uaddr) | |||
95 | } | 95 | } |
96 | 96 | ||
97 | static inline int | 97 | static inline int |
98 | futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) | 98 | futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) |
99 | { | 99 | { |
100 | if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int))) | 100 | if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int))) |
101 | return -EFAULT; | 101 | return -EFAULT; |