powerpc/tm: Remove unnecessary r1 save
We save r1 to the scratch SPR and restore it from there after the trechkpt so saving r1 to the paca is not needed. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
fb5153d05a
commit
ce0ac1fc32
@@ -320,8 +320,6 @@ _GLOBAL(__tm_recheckpoint)
|
|||||||
*/
|
*/
|
||||||
SAVE_NVGPRS(r1)
|
SAVE_NVGPRS(r1)
|
||||||
|
|
||||||
std r1, PACAR1(r13)
|
|
||||||
|
|
||||||
/* Load complete register state from ts_ckpt* registers */
|
/* Load complete register state from ts_ckpt* registers */
|
||||||
|
|
||||||
addi r7, r3, PT_CKPT_REGS /* Thread's ckpt_regs */
|
addi r7, r3, PT_CKPT_REGS /* Thread's ckpt_regs */
|
||||||
|
|||||||
Reference in New Issue
Block a user