summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/systbl.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-02-04 05:05:53 (GMT)
committerAnton Blanchard <anton@samba.org>2014-04-23 00:05:17 (GMT)
commitc857c43b34ecbfd686d860d4e85281d3750e3b47 (patch)
treed8e69b2bbdb52a7623f8139edfa7e5ee7dc68048 /arch/powerpc/kernel/systbl.S
parentad0289e4acf2bd6989e745cff3b4f0781a919e30 (diff)
downloadlinux-c857c43b34ecbfd686d860d4e85281d3750e3b47.tar.xz
powerpc: Don't use a function descriptor for system call table
There is no need to create a function descriptor for the system call table. By using one we force the system call table into the text section and it really belongs in the rodata section. This also removes another use of dot symbols. Signed-off-by: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/systbl.S')
-rw-r--r--arch/powerpc/kernel/systbl.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/systbl.S b/arch/powerpc/kernel/systbl.S
index 93219c3..75822f9 100644
--- a/arch/powerpc/kernel/systbl.S
+++ b/arch/powerpc/kernel/systbl.S
@@ -36,6 +36,8 @@
#define PPC_SYS_SPU(func) PPC_SYS(func)
#define SYSX_SPU(f, f3264, f32) SYSX(f, f3264, f32)
+.section .rodata,"a"
+
#ifdef CONFIG_PPC64
#define sys_sigpending sys_ni_syscall
#define sys_old_getrlimit sys_ni_syscall
@@ -43,5 +45,7 @@
.p2align 3
#endif
-_GLOBAL(sys_call_table)
+.globl sys_call_table
+sys_call_table:
+
#include <asm/systbl.h>