Skip to content

Commit 788bc67

Browse files
DispatchCodegregkh
authored andcommitted
MIPS: Move r4k_wait() to .cpuidle.text section
[ Upstream commit b713f27 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 195c0f2 commit 788bc67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/kernel/genex.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ handle_vcei:
104104

105105
__FINIT
106106

107+
.section .cpuidle.text,"ax"
107108
/* Align to 32 bytes for the maximum idle interrupt region size. */
108109
.align 5
109110
LEAF(r4k_wait)

0 commit comments

Comments
 (0)