[PATCH] powerpc/64: Remove unused SYS_CALL_TABLE symbol

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1412d LANDED

Landed in mainline as e74611aa91bb on 2022-09-26.

3 messages, 3 authors, 2022-10-04 · open the first message on its own page

[PATCH] powerpc/64: Remove unused SYS_CALL_TABLE symbol

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2022-09-13 12:46:29

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")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/kernel/interrupt_64.S | 10 ----------
 1 file changed, 10 deletions(-)
diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/interrupt_64.S
index f9ee93e3a0d3..0093a6b6b1e1 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
-- 
2.37.2

Re: [PATCH] powerpc/64: Remove unused SYS_CALL_TABLE symbol

From: "Nicholas Piggin" <npiggin@gmail.com>
Date: 2022-09-16 01:12:33

On Tue Sep 13, 2022 at 10:45 PM AEST, Michael Ellerman wrote:
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.
Acked-by: Nicholas Piggin <npiggin@gmail.com>
quoted hunk
Fixes: 68b34588e202 ("powerpc/64/sycall: Implement syscall entry/exit logic in C")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/kernel/interrupt_64.S | 10 ----------
 1 file changed, 10 deletions(-)
diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/interrupt_64.S
index f9ee93e3a0d3..0093a6b6b1e1 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
-- 
2.37.2

Re: [PATCH] powerpc/64: Remove unused SYS_CALL_TABLE symbol

From: Michael Ellerman <hidden>
Date: 2022-10-04 13:50:51

On Tue, 13 Sep 2022 22:45:45 +1000, Michael Ellerman wrote:
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.


[...]
Applied to powerpc/next.

[1/1] powerpc/64: Remove unused SYS_CALL_TABLE symbol
      https://git.kernel.org/powerpc/c/e74611aa91bb9939dfc4a41b045a1a19227cff98

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help