Commit d39159c2 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] x86_64: remove sys32_ni_syscall()

This patch removes the no longer used sys32_ni_syscall()
Signed-off-by: default avatarAdrian Bunk <>
Signed-off-by: default avatarAndi Kleen <>
Signed-off-by: default avatarLinus Torvalds <>
parent 409f89e0
......@@ -323,10 +323,6 @@ ia32_badsys:
jmp int_ret_from_sys_call
movq %rax,%rdi
jmp sys32_ni_syscall
movq $-ENOSYS,%rax
......@@ -508,19 +508,6 @@ sys32_waitpid(compat_pid_t pid, unsigned int *stat_addr, int options)
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment