diff options
Diffstat (limited to 'arch/x86/um/tls_32.c')
-rw-r--r-- | arch/x86/um/tls_32.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/um/tls_32.c b/arch/x86/um/tls_32.c index 5f5feff3d24c..80ffa5b9982d 100644 --- a/arch/x86/um/tls_32.c +++ b/arch/x86/um/tls_32.c | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | #include <linux/percpu.h> | 6 | #include <linux/percpu.h> |
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <linux/syscalls.h> | ||
8 | #include <asm/uaccess.h> | 9 | #include <asm/uaccess.h> |
9 | #include <os.h> | 10 | #include <os.h> |
10 | #include <skas.h> | 11 | #include <skas.h> |
@@ -274,7 +275,7 @@ clear: | |||
274 | goto out; | 275 | goto out; |
275 | } | 276 | } |
276 | 277 | ||
277 | int sys_set_thread_area(struct user_desc __user *user_desc) | 278 | SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, user_desc) |
278 | { | 279 | { |
279 | struct user_desc info; | 280 | struct user_desc info; |
280 | int idx, ret; | 281 | int idx, ret; |
@@ -322,7 +323,7 @@ int ptrace_set_thread_area(struct task_struct *child, int idx, | |||
322 | return set_tls_entry(child, &info, idx, 0); | 323 | return set_tls_entry(child, &info, idx, 0); |
323 | } | 324 | } |
324 | 325 | ||
325 | int sys_get_thread_area(struct user_desc __user *user_desc) | 326 | SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, user_desc) |
326 | { | 327 | { |
327 | struct user_desc info; | 328 | struct user_desc info; |
328 | int idx, ret; | 329 | int idx, ret; |