lkml.org 
[lkml]   [2006]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] x86_64: unexport ia32_sys_call_table
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-05 19:31    [W:0.242 / U:0.340 seconds]
©2003-2014 Jasper Spaans. Advertise on this site