From: Adrian Bunk <bunk@stusta.de>
To: ak@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] x86_64: unexport ia32_sys_call_table
Date: Sun, 5 Feb 2006 19:29:30 +0100 [thread overview]
Message-ID: <20060205182930.GA15767@stusta.de> (raw)
This export doesn't seem to do anything but bloating the kernel by
a few bytes.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/um/include/sysdep-x86_64/syscalls.h | 2 --
arch/x86_64/ia32/ia32entry.S | 1 -
arch/x86_64/ia32/sys_ia32.c | 2 --
3 files changed, 5 deletions(-)
--- linux-2.6.16-rc1-mm5-full/arch/um/include/sysdep-x86_64/syscalls.h.old 2006-02-05 18:42:51.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/arch/um/include/sysdep-x86_64/syscalls.h 2006-02-05 18:42:59.000000000 +0100
@@ -12,8 +12,6 @@
typedef long syscall_handler_t(void);
-extern syscall_handler_t *ia32_sys_call_table[];
-
extern syscall_handler_t *sys_call_table[];
#define EXECUTE_SYSCALL(syscall, regs) \
--- linux-2.6.16-rc1-mm5-full/arch/x86_64/ia32/sys_ia32.c.old 2006-02-05 18:43:18.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/arch/x86_64/ia32/sys_ia32.c 2006-02-05 18:43:25.000000000 +0100
@@ -1004,5 +1004,3 @@
__initcall(ia32_init);
-extern unsigned long ia32_sys_call_table[];
-EXPORT_SYMBOL(ia32_sys_call_table);
--- linux-2.6.16-rc1-mm5-full/arch/x86_64/ia32/ia32entry.S.old 2006-02-05 18:49:28.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/arch/x86_64/ia32/ia32entry.S 2006-02-05 18:49:48.000000000 +0100
@@ -371,7 +371,6 @@
.section .rodata,"a"
.align 8
- .globl ia32_sys_call_table
ia32_sys_call_table:
.quad sys_restart_syscall
.quad sys_exit
next reply other threads:[~2006-02-05 18:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-05 18:29 Adrian Bunk [this message]
2006-02-05 18:46 ` [2.6 patch] x86_64: unexport ia32_sys_call_table Christoph Hellwig
2006-02-05 18:53 ` Adrian Bunk
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=20060205182930.GA15767@stusta.de \
--to=bunk@stusta.de \
--cc=ak@suse.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.