diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/futex.h | 5 | ||||
-rw-r--r-- | include/linux/syscalls.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/futex.h b/include/linux/futex.h index 966a5b3da439..f05a3f469322 100644 --- a/include/linux/futex.h +++ b/include/linux/futex.h | |||
@@ -90,9 +90,8 @@ struct robust_list_head { | |||
90 | */ | 90 | */ |
91 | #define ROBUST_LIST_LIMIT 2048 | 91 | #define ROBUST_LIST_LIMIT 2048 |
92 | 92 | ||
93 | long do_futex(unsigned long uaddr, int op, int val, | 93 | long do_futex(u32 __user *uaddr, int op, u32 val, unsigned long timeout, |
94 | unsigned long timeout, unsigned long uaddr2, int val2, | 94 | u32 __user *uaddr2, u32 val2, u32 val3); |
95 | int val3); | ||
96 | 95 | ||
97 | extern int handle_futex_death(u32 __user *uaddr, struct task_struct *curr); | 96 | extern int handle_futex_death(u32 __user *uaddr, struct task_struct *curr); |
98 | 97 | ||
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 33785b79d548..008f04c56737 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -174,9 +174,9 @@ asmlinkage long sys_waitid(int which, pid_t pid, | |||
174 | int options, struct rusage __user *ru); | 174 | int options, struct rusage __user *ru); |
175 | asmlinkage long sys_waitpid(pid_t pid, int __user *stat_addr, int options); | 175 | asmlinkage long sys_waitpid(pid_t pid, int __user *stat_addr, int options); |
176 | asmlinkage long sys_set_tid_address(int __user *tidptr); | 176 | asmlinkage long sys_set_tid_address(int __user *tidptr); |
177 | asmlinkage long sys_futex(u32 __user *uaddr, int op, int val, | 177 | asmlinkage long sys_futex(u32 __user *uaddr, int op, u32 val, |
178 | struct timespec __user *utime, u32 __user *uaddr2, | 178 | struct timespec __user *utime, u32 __user *uaddr2, |
179 | int val3); | 179 | u32 val3); |
180 | 180 | ||
181 | asmlinkage long sys_init_module(void __user *umod, unsigned long len, | 181 | asmlinkage long sys_init_module(void __user *umod, unsigned long len, |
182 | const char __user *uargs); | 182 | const char __user *uargs); |