diff options
Diffstat (limited to 'arch/um/sys-x86_64/syscalls.c')
-rw-r--r-- | arch/um/sys-x86_64/syscalls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/sys-x86_64/syscalls.c b/arch/um/sys-x86_64/syscalls.c index d0ff832c9eaf..d44398c9d27a 100644 --- a/arch/um/sys-x86_64/syscalls.c +++ b/arch/um/sys-x86_64/syscalls.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include "asm/ptrace.h" | 14 | #include "asm/ptrace.h" |
15 | #include "asm/unistd.h" | 15 | #include "asm/unistd.h" |
16 | #include "asm/prctl.h" /* XXX This should get the constants from libc */ | 16 | #include "asm/prctl.h" /* XXX This should get the constants from libc */ |
17 | #include "choose-mode.h" | ||
18 | #include "kern.h" | 17 | #include "kern.h" |
19 | #include "os.h" | 18 | #include "os.h" |
20 | 19 | ||
@@ -92,8 +91,7 @@ long arch_prctl_skas(struct task_struct *task, int code, | |||
92 | 91 | ||
93 | long sys_arch_prctl(int code, unsigned long addr) | 92 | long sys_arch_prctl(int code, unsigned long addr) |
94 | { | 93 | { |
95 | return CHOOSE_MODE_PROC(arch_prctl_tt, arch_prctl_skas, current, code, | 94 | return arch_prctl_skas(current, code, (unsigned long __user *) addr); |
96 | (unsigned long __user *) addr); | ||
97 | } | 95 | } |
98 | 96 | ||
99 | long sys_clone(unsigned long clone_flags, unsigned long newsp, | 97 | long sys_clone(unsigned long clone_flags, unsigned long newsp, |