aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-06-26 07:57:07 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 13:48:16 -0400
commit5282aab87a8be3f5e6c36a4c2ee4b71852def1bb (patch)
tree319d96e66e3beca077206720ccff1b8347918a20 /arch
parent5c0f80fab3724aa44b3352d88155fe0eaae0e54a (diff)
[PATCH] x86_64: Remove ia32_sys_call_table export
It was originally added for 2.4 oprofile, but 2.6 oprofile doesn't need that anymore. Shouldn't be any use in tree anymore and it doesn't make much sense to export the ia32 syscalls when the main syscalls are not exported. I think Adrian Bunk asked for removing it several times. Also included hunk from Adrian to remove the .globl ia32_sys_call_table Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/ia32/ia32entry.S1
-rw-r--r--arch/x86_64/ia32/sys_ia32.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86_64/ia32/ia32entry.S
index 8b502eb0a28b..d073ca34d4f5 100644
--- a/arch/x86_64/ia32/ia32entry.S
+++ b/arch/x86_64/ia32/ia32entry.S
@@ -377,7 +377,6 @@ END(ia32_ptregs_common)
377 377
378 .section .rodata,"a" 378 .section .rodata,"a"
379 .align 8 379 .align 8
380 .globl ia32_sys_call_table
381ia32_sys_call_table: 380ia32_sys_call_table:
382 .quad sys_restart_syscall 381 .quad sys_restart_syscall
383 .quad sys_exit 382 .quad sys_exit
diff --git a/arch/x86_64/ia32/sys_ia32.c b/arch/x86_64/ia32/sys_ia32.c
index afbebde9326d..a1adaa4dd562 100644
--- a/arch/x86_64/ia32/sys_ia32.c
+++ b/arch/x86_64/ia32/sys_ia32.c
@@ -929,5 +929,3 @@ long sys32_lookup_dcookie(u32 addr_low, u32 addr_high,
929 return sys_lookup_dcookie(((u64)addr_high << 32) | addr_low, buf, len); 929 return sys_lookup_dcookie(((u64)addr_high << 32) | addr_low, buf, len);
930} 930}
931 931
932extern unsigned long ia32_sys_call_table[];
933EXPORT_SYMBOL(ia32_sys_call_table);