* [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
* Re: [2.6 patch] x86_64: unexport ia32_sys_call_table
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
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2006-02-05 18:46 UTC (permalink / raw)
To: Adrian Bunk; +Cc: ak, linux-kernel
On Sun, Feb 05, 2006 at 07:29:30PM +0100, Adrian Bunk wrote:
> This export doesn't seem to do anything but bloating the kernel by
> a few bytes.
ACK. The native syscall table isn't exported, so the 32bit compat one
shouldn't either - and afaik isn't on any other port.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.6 patch] x86_64: unexport ia32_sys_call_table
2006-02-05 18:46 ` Christoph Hellwig
@ 2006-02-05 18:53 ` Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-02-05 18:53 UTC (permalink / raw)
To: Christoph Hellwig, ak, linux-kernel
On Sun, Feb 05, 2006 at 06:46:29PM +0000, Christoph Hellwig wrote:
> On Sun, Feb 05, 2006 at 07:29:30PM +0100, Adrian Bunk wrote:
> > This export doesn't seem to do anything but bloating the kernel by
> > a few bytes.
>
> ACK. The native syscall table isn't exported, so the 32bit compat one
> shouldn't either - and afaik isn't on any other port.
It is also exported on sparc64 because the Solaris binary emulation uses
it there.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ 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