diff options
author | Jiri Kosina <jkosina@suse.cz> | 2022-03-23 11:58:40 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-03-23 11:58:40 +0300 |
commit | b690490d6d466972ade172ee2e7f6ffa49e7e910 (patch) | |
tree | 50a93da28c9128e19eb7a3038aecf75dab6b36e1 /arch/x86/um/sys_call_table_64.c | |
parent | f97ec5d75e9261a5da78dc28a8955b7cc0c4468b (diff) | |
parent | 0f203948230720e849ad50d158adac1cd32c282f (diff) | |
download | linux-b690490d6d466972ade172ee2e7f6ffa49e7e910.tar.xz |
Merge branch 'for-5.18/amd-sfh' into for-linus
- dead code elimination (Christophe JAILLET)
Diffstat (limited to 'arch/x86/um/sys_call_table_64.c')
-rw-r--r-- | arch/x86/um/sys_call_table_64.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c index 95725b5a41ac..b0b4cfd2308c 100644 --- a/arch/x86/um/sys_call_table_64.c +++ b/arch/x86/um/sys_call_table_64.c @@ -9,8 +9,6 @@ #include <linux/cache.h> #include <asm/syscall.h> -#define __NO_STUBS - /* * Below you can see, in terms of #define's, the differences between the x86-64 * and the UML syscall table. @@ -20,21 +18,6 @@ #define sys_iopl sys_ni_syscall #define sys_ioperm sys_ni_syscall -/* - * The UML TLS problem. Note that x86_64 does not implement this, so the below - * is needed only for the ia32 compatibility. - */ - -/* On UML we call it this way ("old" means it's not mmap2) */ -#define sys_mmap old_mmap - -#define stub_clone sys_clone -#define stub_fork sys_fork -#define stub_vfork sys_vfork -#define stub_execve sys_execve -#define stub_execveat sys_execveat -#define stub_rt_sigreturn sys_rt_sigreturn - #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> |