Commit 33ea0487 authored by Sven Schnelle's avatar Sven Schnelle Committed by Vasily Gorbik

s390: use r13 in cleanup_sie as temp register

Instead of thrashing r11 which is normally our pointer to struct
pt_regs on the stack, use r13 as temporary register in the BR_EX
macro. r13 is already used in cleanup_sie, so no need to thrash
another register.
Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
Reviewed-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 26521412
...@@ -130,7 +130,7 @@ _LPP_OFFSET = __LC_LPP ...@@ -130,7 +130,7 @@ _LPP_OFFSET = __LC_LPP
.endm .endm
GEN_BR_THUNK %r14 GEN_BR_THUNK %r14
GEN_BR_THUNK %r14,%r11 GEN_BR_THUNK %r14,%r13
.section .kprobes.text, "ax" .section .kprobes.text, "ax"
.Ldummy: .Ldummy:
...@@ -665,7 +665,7 @@ ENDPROC(stack_overflow) ...@@ -665,7 +665,7 @@ ENDPROC(stack_overflow)
ni __SIE_PROG0C+3(%r9),0xfe # no longer in SIE ni __SIE_PROG0C+3(%r9),0xfe # no longer in SIE
lctlg %c1,%c1,__LC_KERNEL_ASCE lctlg %c1,%c1,__LC_KERNEL_ASCE
larl %r9,sie_exit # skip forward to sie_exit larl %r9,sie_exit # skip forward to sie_exit
BR_EX %r14,%r11 BR_EX %r14,%r13
#endif #endif
.section .rodata, "a" .section .rodata, "a"
......
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