[S390] remove export of sys_call_table
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 13:03:54 +0000 (15:03 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 13:03:54 +0000 (15:03 +0200)
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
arch/s390/kernel/entry64.S

index 74d80c3bba80db74a159a99112ecf150acd6a06b..aa8b52c2140f1e672bed5c4be2715d10140e01f4 100644 (file)
@@ -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
index 21e601d5613962f6f92d13079cb0ec74c8cbe890..f3222a1b286174b97ed2141f0007a98b8a5af780 100644 (file)
@@ -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