public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] x86_64: remove sys32_ni_syscall()
@ 2006-06-21 16:56 Adrian Bunk
  2006-06-21 17:18 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-06-21 16:56 UTC (permalink / raw)
  To: ak; +Cc: discuss, linux-kernel

This patch removes the no longer used sys32_ni_syscall()

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] x86_64: remove sys32_ni_syscall()
  2006-06-21 16:56 [2.6 patch] x86_64: remove sys32_ni_syscall() Adrian Bunk
@ 2006-06-21 17:18 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2006-06-21 17:18 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: discuss, linux-kernel

On Wednesday 21 June 2006 18:56, Adrian Bunk wrote:
> This patch removes the no longer used sys32_ni_syscall()

Added thanks
-Andi

>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-21 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21 16:56 [2.6 patch] x86_64: remove sys32_ni_syscall() Adrian Bunk
2006-06-21 17:18 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox