aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/um/sys_call_table_64.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2021-09-20 21:32:48 +0000
committerRichard Weinberger <[email protected]>2021-12-21 21:30:44 +0100
commit577ade59b99e3473b2f1342b1eb9e496eed39b68 (patch)
treec7caad9da863acb63602f38ab0c218f7c299c590 /arch/x86/um/sys_call_table_64.c
parent8f5c84f3678e72bbba96b0755135adae66d35c0e (diff)
um: move amd64 variant of mmap(2) to arch/x86/um/syscalls_64.c
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/x86/um/sys_call_table_64.c')
-rw-r--r--arch/x86/um/sys_call_table_64.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c
index 82b695ed23c4..b0b4cfd2308c 100644
--- a/arch/x86/um/sys_call_table_64.c
+++ b/arch/x86/um/sys_call_table_64.c
@@ -18,9 +18,6 @@
#define sys_iopl sys_ni_syscall
#define sys_ioperm sys_ni_syscall
-/* On UML we call it this way ("old" means it's not mmap2) */
-#define sys_mmap old_mmap
-
#define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
#include <asm/syscalls_64.h>