Skip to contentSkip to conversation

s390: remove export of sys_call_table

PATCH New Martin Schwidefsky 1 participant 1 message Jun 28, 2006 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: remove export of sys_call_table

From: Martin Schwidefsky <[email protected]>

[S390] remove export of sys_call_table

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

---

 arch/s390/kernel/entry.S   |    1 -
 arch/s390/kernel/entry64.S |    2 --
 2 files changed, 3 deletions(-)
arch/s390/kernel/entry64.S +0 -2
diff -urpN linux-2.6/arch/s390/kernel/entry64.S linux-2.6-patched/arch/s390/kernel/entry64.S
@@ -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
arch/s390/kernel/entry.S +0 -1
diff -urpN linux-2.6/arch/s390/kernel/entry.S linux-2.6-patched/arch/s390/kernel/entry.S
@@ -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