From: Adrian Bunk <bunk@stusta.de>
To: ak@suse.de
Cc: discuss@x86-64.org, linux-kernel@vger.kernel.org
Subject: [2.6 patch] x86_64: remove sys32_ni_syscall()
Date: Wed, 21 Jun 2006 18:56:48 +0200 [thread overview]
Message-ID: <20060621165648.GG9111@stusta.de> (raw)
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
next reply other threads:[~2006-06-21 16:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 16:56 Adrian Bunk [this message]
2006-06-21 17:18 ` [2.6 patch] x86_64: remove sys32_ni_syscall() Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060621165648.GG9111@stusta.de \
--to=bunk@stusta.de \
--cc=ak@suse.de \
--cc=discuss@x86-64.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox