aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/futex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/futex.h')
-rw-r--r--include/asm-i386/futex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/futex.h b/include/asm-i386/futex.h
index 41184a31885c..7b8ceefd010f 100644
--- a/include/asm-i386/futex.h
+++ b/include/asm-i386/futex.h
@@ -105,7 +105,7 @@ futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
105} 105}
106 106
107static inline int 107static inline int
108futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) 108futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
109{ 109{
110 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int))) 110 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int)))
111 return -EFAULT; 111 return -EFAULT;