소스 검색

[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>
Martin Schwidefsky 19 년 전
부모
커밋
8f27766a88
2개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      arch/s390/kernel/entry.S
  2. 0 2
      arch/s390/kernel/entry64.S

+ 0 - 1
arch/s390/kernel/entry.S

@@ -1019,7 +1019,6 @@ cleanup_io_leave_insn:
                .long  cleanup_critical
                .long  cleanup_critical
 
 
 #define SYSCALL(esa,esame,emu)	.long esa
 #define SYSCALL(esa,esame,emu)	.long esa
-	.globl  sys_call_table
 sys_call_table:
 sys_call_table:
 #include "syscalls.S"
 #include "syscalls.S"
 #undef SYSCALL
 #undef SYSCALL

+ 0 - 2
arch/s390/kernel/entry64.S

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