[2.6 patch] x86_64: unexport ia32_sys_call_table

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

 



This export doesn't seem to do anything but bloating the kernel by
a few bytes.


Signed-off-by: Adrian Bunk <[email protected]>

---

 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

-
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