summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2022-09-13 14:45:45 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-26 12:58:17 +0200
commite74611aa91bb9939dfc4a41b045a1a19227cff98 (patch)
tree1a2865c8b3beaf59cf1ab97d2f57e6b7a51771c5
parentpowerpc/build: put sys_call_table in .data.rel.ro if RELOCATABLE (diff)
downloadlinux-e74611aa91bb9939dfc4a41b045a1a19227cff98.tar.xz
linux-e74611aa91bb9939dfc4a41b045a1a19227cff98.zip
powerpc/64: Remove unused SYS_CALL_TABLE symbol
In interrupt_64.S, formerly entry_64.S, there are two toc entries created for sys_call_table and compat_sys_call_table. These are no longer used, since the system call entry was converted from asm to C, so remove them. Fixes: 68b34588e202 ("powerpc/64/sycall: Implement syscall entry/exit logic in C") Acked-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220913124545.2817825-1-mpe@ellerman.id.au
-rw-r--r--arch/powerpc/kernel/interrupt_64.S10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/interrupt_64.S
index ce25b28cf418..4b4ba3364665 100644
--- a/arch/powerpc/kernel/interrupt_64.S
+++ b/arch/powerpc/kernel/interrupt_64.S
@@ -13,16 +13,6 @@
#include <asm/ppc_asm.h>
#include <asm/ptrace.h>
- .section ".toc","aw"
-SYS_CALL_TABLE:
- .tc sys_call_table[TC],sys_call_table
-
-#ifdef CONFIG_COMPAT
-COMPAT_SYS_CALL_TABLE:
- .tc compat_sys_call_table[TC],compat_sys_call_table
-#endif
- .previous
-
.align 7
.macro DEBUG_SRR_VALID srr