Commit 3e23a12b authored by Michael Ellerman's avatar Michael Ellerman

powerpc/64s: Fix replay interrupt return label name

In __replay_interrupt() we take the address of a local label so we can
return to it later. However the assembler turns the local label into a
symbol with a name like ".L1^B42" - where "^B" is literally "\002".
This does not make for pleasant stack traces. Fix it by giving the
label a sensible name.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 215ee763
...@@ -1671,7 +1671,7 @@ _GLOBAL(__replay_interrupt) ...@@ -1671,7 +1671,7 @@ _GLOBAL(__replay_interrupt)
* we don't give a damn about, so we don't bother storing them. * we don't give a damn about, so we don't bother storing them.
*/ */
mfmsr r12 mfmsr r12
LOAD_REG_ADDR(r11, 1f) LOAD_REG_ADDR(r11, replay_interrupt_return)
mfcr r9 mfcr r9
ori r12,r12,MSR_EE ori r12,r12,MSR_EE
cmpwi r3,0x900 cmpwi r3,0x900
...@@ -1689,7 +1689,7 @@ FTR_SECTION_ELSE ...@@ -1689,7 +1689,7 @@ FTR_SECTION_ELSE
cmpwi r3,0xa00 cmpwi r3,0xa00
beq doorbell_super_common_msgclr beq doorbell_super_common_msgclr
ALT_FTR_SECTION_END_IFSET(CPU_FTR_HVMODE) ALT_FTR_SECTION_END_IFSET(CPU_FTR_HVMODE)
1: replay_interrupt_return:
blr blr
_ASM_NOKPROBE_SYMBOL(__replay_interrupt) _ASM_NOKPROBE_SYMBOL(__replay_interrupt)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment