From: Marco Crivellari Date: Thu, 3 Apr 2025 16:11:43 +0000 (+0200) Subject: MIPS: Move r4k_wait() to .cpuidle.text section X-Git-Tag: v6.15-rc6~2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b713f27e32d87c35737ec942dd6f5ed6b7475f48;p=thirdparty%2Fkernel%2Flinux.git MIPS: Move r4k_wait() to .cpuidle.text section Fix missing .cpuidle.text section assignment for r4k_wait() to correct backtracing with nmi_backtrace(). Fixes: 97c8580e85cf ("MIPS: Annotate cpu_wait implementations with __cpuidle") Signed-off-by: Marco Crivellari Signed-off-by: Maciej W. Rozycki Acked-by: Frederic Weisbecker Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index 46d975d00298d..2cf312d9a3b09 100644 --- a/arch/mips/kernel/genex.S +++ b/arch/mips/kernel/genex.S @@ -104,6 +104,7 @@ handle_vcei: __FINIT + .section .cpuidle.text,"ax" /* Align to 32 bytes for the maximum idle interrupt region size. */ .align 5 LEAF(r4k_wait)