]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/64: Remove unused SYS_CALL_TABLE symbol
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2022 12:45:45 +0000 (22:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000 (20:58 +1000)
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: db7c4451017f ("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
arch/powerpc/kernel/interrupt_64.S

index ce25b28cf418ef6154fd46fad165c21c62c90b7b..4b4ba3364665af4e5cdb6ff18ba9b43ede35f74d 100644 (file)
 #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