[patch] s390: remove export of sys_call_table

From: Martin Schwidefsky
Date: Wed Jun 28 2006 - 10:16:28 EST


From: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

[S390] remove export of sys_call_table

Remove export of the sys_call_table symbol to prevent the misuse of it.

Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---

arch/s390/kernel/entry.S | 1 -
arch/s390/kernel/entry64.S | 2 --
2 files changed, 3 deletions(-)

diff -urpN linux-2.6/arch/s390/kernel/entry64.S linux-2.6-patched/arch/s390/kernel/entry64.S
--- linux-2.6/arch/s390/kernel/entry64.S 2006-06-28 16:16:28.000000000 +0200
+++ linux-2.6-patched/arch/s390/kernel/entry64.S 2006-06-28 16:16:43.000000000 +0200
@@ -993,7 +993,6 @@ cleanup_io_leave_insn:
.quad __critical_end

#define SYSCALL(esa,esame,emu) .long esame
- .globl sys_call_table
sys_call_table:
#include "syscalls.S"
#undef SYSCALL
@@ -1001,7 +1000,6 @@ sys_call_table:
#ifdef CONFIG_COMPAT

#define SYSCALL(esa,esame,emu) .long emu
- .globl sys_call_table_emu
sys_call_table_emu:
#include "syscalls.S"
#undef SYSCALL
diff -urpN linux-2.6/arch/s390/kernel/entry.S linux-2.6-patched/arch/s390/kernel/entry.S
--- linux-2.6/arch/s390/kernel/entry.S 2006-06-28 16:16:28.000000000 +0200
+++ linux-2.6-patched/arch/s390/kernel/entry.S 2006-06-28 16:16:43.000000000 +0200
@@ -1019,7 +1019,6 @@ cleanup_io_leave_insn:
.long cleanup_critical

#define SYSCALL(esa,esame,emu) .long esa
- .globl sys_call_table
sys_call_table:
#include "syscalls.S"
#undef SYSCALL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/