mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-27 05:32:27 +00:00
powerpc: Remove redundant mflr in _switch
No need to execute mflr twice. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
152d523e63
commit
68bfa962bf
@ -452,9 +452,7 @@ _GLOBAL(_switch)
|
||||
/* r3-r13 are caller saved -- Cort */
|
||||
SAVE_8GPRS(14, r1)
|
||||
SAVE_10GPRS(22, r1)
|
||||
mflr r20 /* Return to switch caller */
|
||||
|
||||
std r20,_NIP(r1)
|
||||
std r0,_NIP(r1) /* Return to switch caller */
|
||||
mfcr r23
|
||||
std r23,_CCR(r1)
|
||||
std r1,KSP(r3) /* Set old stack pointer */
|
||||
|
Loading…
x
Reference in New Issue
Block a user