Skip to content

Commit

Permalink
MIPS: Move r4k_wait() to .cpuidle.text section
Browse files Browse the repository at this point in the history
Fix missing .cpuidle.text section assignment for r4k_wait() to correct
backtracing with nmi_backtrace().

Fixes: 97c8580 ("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>
  • Loading branch information
Marco Crivellari authored and Thomas Bogendoerfer committed Apr 27, 2025
1 parent 5665112 commit b713f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/kernel/genex.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b713f27

Please sign in to comment.