diff options
Diffstat (limited to 'arch/um/sys-x86_64')
-rw-r--r-- | arch/um/sys-x86_64/syscalls.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/um/sys-x86_64/syscalls.c b/arch/um/sys-x86_64/syscalls.c index 15768c96ceb4..ab4b0abf8af3 100644 --- a/arch/um/sys-x86_64/syscalls.c +++ b/arch/um/sys-x86_64/syscalls.c | |||
@@ -14,14 +14,6 @@ | |||
14 | #include "asm/prctl.h" /* XXX This should get the constants from libc */ | 14 | #include "asm/prctl.h" /* XXX This should get the constants from libc */ |
15 | #include "choose-mode.h" | 15 | #include "choose-mode.h" |
16 | 16 | ||
17 | /* XXX: copied from x86-64: arch/x86_64/kernel/sys_x86_64.c */ | ||
18 | asmlinkage long wrap_sys_shmat(int shmid, char __user *shmaddr, int shmflg) | ||
19 | { | ||
20 | unsigned long raddr; | ||
21 | |||
22 | return do_shmat(shmid, shmaddr, shmflg, &raddr) ?: (long) raddr; | ||
23 | } | ||
24 | |||
25 | asmlinkage long sys_uname64(struct new_utsname __user * name) | 17 | asmlinkage long sys_uname64(struct new_utsname __user * name) |
26 | { | 18 | { |
27 | int err; | 19 | int err; |