x86_64: remove sys32_ni_syscall()
PATCH 1/1 x86_64: remove sys32_ni_syscall()
This patch removes the no longer used sys32_ni_syscall()
Signed-off-by Adrian Bunk <[email protected]>
---
arch/x86_64/ia32/ia32entry.S | 4 ---- arch/x86_64/ia32/sys_ia32.c | 13 ------------- 2 files changed, 17 deletions(-)
arch/x86_64/ia32/ia32entry.S renamed from arch/x86_64/ia32/ia32entry.S.old +0 -4
@@ -340,10 +340,6 @@ movq $-ENOSYS,RAX-ARGOFFSET(%rsp) jmp int_ret_from_sys_call -ni_syscall: - movq %rax,%rdi - jmp sys32_ni_syscall - quiet_ni_syscall: movq $-ENOSYS,%rax ret
arch/x86_64/ia32/sys_ia32.c renamed from arch/x86_64/ia32/sys_ia32.c.old +0 -13
@@ -508,19 +508,6 @@return compat_sys_wait4 (pid, stat_addr, options,NULL ); } -int sys32_ni_syscall (int call) -{ -struct task_struct *me = current; -static char lastcomm[sizeof (me->comm)]; - -if (strncmp (lastcomm, me->comm,sizeof (lastcomm))) { -compat_printk (KERN_INFO "IA32 syscall %d from %s not implemented\n" , - call, me->comm); -strncpy (lastcomm, me->comm,sizeof (lastcomm)); - } -return -ENOSYS ; -} -/* 32-bit timeval and related flotsam. */ asmlinkage long
Quoted 1 line · Adrian Bunk
This patch removes the no longer used
sys32_ni_syscall()
Added thanks
-Andi