public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] x86_64: unexport ia32_sys_call_table
@ 2006-02-05 18:29 Adrian Bunk
  2006-02-05 18:46 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2006-02-05 18:29 UTC (permalink / raw)
  To: ak; +Cc: linux-kernel

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


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

end of thread, other threads:[~2006-02-05 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05 18:29 [2.6 patch] x86_64: unexport ia32_sys_call_table Adrian Bunk
2006-02-05 18:46 ` Christoph Hellwig
2006-02-05 18:53   ` Adrian Bunk

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