]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MIPS: Move r4k_wait() to .cpuidle.text section
authorMarco Crivellari <marco.crivellari@suse.com>
Thu, 3 Apr 2025 16:11:43 +0000 (18:11 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 27 Apr 2025 08:12:09 +0000 (10:12 +0200)
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 <marco.crivellari@suse.com>
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Acked-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/genex.S

index 46d975d00298dcde03abf7051a22735b6f50f938..2cf312d9a3b096dfb69a22bf80b9039dd46202b8 100644 (file)
@@ -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)