aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-frv/futex.h2
-rw-r--r--include/asm-generic/futex.h2
-rw-r--r--include/asm-i386/futex.h2
-rw-r--r--include/asm-mips/futex.h2
-rw-r--r--include/asm-powerpc/futex.h2
-rw-r--r--include/asm-x86_64/futex.h2
-rw-r--r--include/linux/futex.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/include/asm-frv/futex.h b/include/asm-frv/futex.h
index 9a0e9026ba5e..08b3d1da3583 100644
--- a/include/asm-frv/futex.h
+++ b/include/asm-frv/futex.h
@@ -10,7 +10,7 @@
10extern int futex_atomic_op_inuser(int encoded_op, int __user *uaddr); 10extern int futex_atomic_op_inuser(int encoded_op, int __user *uaddr);
11 11
12static inline int 12static inline int
13futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) 13futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
14{ 14{
15 return -ENOSYS; 15 return -ENOSYS;
16} 16}
diff --git a/include/asm-generic/futex.h b/include/asm-generic/futex.h
index 514bd401cd7e..df893c160318 100644
--- a/include/asm-generic/futex.h
+++ b/include/asm-generic/futex.h
@@ -50,7 +50,7 @@ futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
50} 50}
51 51
52static inline int 52static inline int
53futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) 53futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
54{ 54{
55 return -ENOSYS; 55 return -ENOSYS;
56} 56}
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;
diff --git a/include/asm-mips/futex.h b/include/asm-mips/futex.h
index c5fb2d6d918a..a554089991f2 100644
--- a/include/asm-mips/futex.h
+++ b/include/asm-mips/futex.h
@@ -100,7 +100,7 @@ futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
100} 100}
101 101
102static inline int 102static inline int
103futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) 103futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
104{ 104{
105 return -ENOSYS; 105 return -ENOSYS;
106} 106}
diff --git a/include/asm-powerpc/futex.h b/include/asm-powerpc/futex.h
index 80ed9854e42b..f1b3c00bc1ce 100644
--- a/include/asm-powerpc/futex.h
+++ b/include/asm-powerpc/futex.h
@@ -82,7 +82,7 @@ static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
82} 82}
83 83
84static inline int 84static inline int
85futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) 85futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
86{ 86{
87 return -ENOSYS; 87 return -ENOSYS;
88} 88}
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
97static inline int 97static inline int
98futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval) 98futex_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;
diff --git a/include/linux/futex.h b/include/linux/futex.h
index 20face6b798d..55fff96ae859 100644
--- a/include/linux/futex.h
+++ b/include/linux/futex.h
@@ -100,7 +100,7 @@ long do_futex(unsigned long uaddr, int op, int val,
100 unsigned long timeout, unsigned long uaddr2, int val2, 100 unsigned long timeout, unsigned long uaddr2, int val2,
101 int val3); 101 int val3);
102 102
103extern int handle_futex_death(unsigned int *uaddr, struct task_struct *curr); 103extern int handle_futex_death(u32 __user *uaddr, struct task_struct *curr);
104 104
105#ifdef CONFIG_FUTEX 105#ifdef CONFIG_FUTEX
106extern void exit_robust_list(struct task_struct *curr); 106extern void exit_robust_list(struct task_struct *curr);