[2.6 patch] x86_64: remove sys32_ni_syscall()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--- linux-2.6.17-mm1-x86_64/arch/x86_64/ia32/ia32entry.S.old	2006-06-21 18:51:14.000000000 +0200
+++ linux-2.6.17-mm1-x86_64/arch/x86_64/ia32/ia32entry.S	2006-06-21 18:51:25.000000000 +0200
@@ -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
--- linux-2.6.17-mm1-x86_64/arch/x86_64/ia32/sys_ia32.c.old	2006-06-21 18:51:38.000000000 +0200
+++ linux-2.6.17-mm1-x86_64/arch/x86_64/ia32/sys_ia32.c	2006-06-21 18:51:43.000000000 +0200
@@ -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux