From: Adrian Bunk This export doesn't seem to do anything but bloating the kernel by a few bytes. Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Andrew Morton --- 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(-) diff -puN arch/um/include/sysdep-x86_64/syscalls.h~x86_64-unexport-ia32_sys_call_table arch/um/include/sysdep-x86_64/syscalls.h --- devel/arch/um/include/sysdep-x86_64/syscalls.h~x86_64-unexport-ia32_sys_call_table 2006-02-16 14:17:34.000000000 -0800 +++ devel-akpm/arch/um/include/sysdep-x86_64/syscalls.h 2006-02-16 14:17:34.000000000 -0800 @@ -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) \ diff -puN arch/x86_64/ia32/ia32entry.S~x86_64-unexport-ia32_sys_call_table arch/x86_64/ia32/ia32entry.S --- devel/arch/x86_64/ia32/ia32entry.S~x86_64-unexport-ia32_sys_call_table 2006-02-16 14:17:34.000000000 -0800 +++ devel-akpm/arch/x86_64/ia32/ia32entry.S 2006-02-16 14:17:34.000000000 -0800 @@ -371,7 +371,6 @@ ENTRY(ia32_ptregs_common) .section .rodata,"a" .align 8 - .globl ia32_sys_call_table ia32_sys_call_table: .quad sys_restart_syscall .quad sys_exit diff -puN arch/x86_64/ia32/sys_ia32.c~x86_64-unexport-ia32_sys_call_table arch/x86_64/ia32/sys_ia32.c --- devel/arch/x86_64/ia32/sys_ia32.c~x86_64-unexport-ia32_sys_call_table 2006-02-16 14:17:34.000000000 -0800 +++ devel-akpm/arch/x86_64/ia32/sys_ia32.c 2006-02-16 14:17:34.000000000 -0800 @@ -1026,5 +1026,3 @@ static int __init ia32_init (void) __initcall(ia32_init); -extern unsigned long ia32_sys_call_table[]; -EXPORT_SYMBOL(ia32_sys_call_table); _