* [patch] s390: remove export of sys_call_table
@ 2006-06-28 14:17 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2006-06-28 14:17 UTC (permalink / raw)
To: linux-kernel
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
[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@de.ibm.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-28 14:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 14:17 [patch] s390: remove export of sys_call_table Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox