diff mbox series

[06/12] parisc: Move disable_sr_hashing_asm() into __cpuinit section

Message ID 20220325143833.402631-6-deller@gmx.de (mailing list archive)
State Superseded
Headers show
Series [01/12] parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY | expand

Commit Message

Helge Deller March 25, 2022, 2:38 p.m. UTC
Signed-off-by: Helge Deller <deller@gmx.de>
---
 arch/parisc/kernel/pacache.S | 4 ++++
 1 file changed, 4 insertions(+)

--
2.35.1
diff mbox series

Patch

diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S
index b2ba6d633065..661b1834ac94 100644
--- a/arch/parisc/kernel/pacache.S
+++ b/arch/parisc/kernel/pacache.S
@@ -1264,7 +1264,11 @@  ENTRY_CFI(flush_kernel_icache_range_asm)
 	nop
 ENDPROC_CFI(flush_kernel_icache_range_asm)

+#ifdef CONFIG_HOTPLUG_CPU
+	.text
+#else
 	__INIT
+#endif

 	/* align should cover use of rfi in disable_sr_hashing_asm and
 	 * srdis_done.