Commit ce0ac1fc326b6a4116728be933ff46d75269baa1

Authored by Michael Neuling
Committed by Benjamin Herrenschmidt
1 parent fb5153d05a

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

arch/powerpc/kernel/tm.S
... ... @@ -320,8 +320,6 @@
320 320 */
321 321 SAVE_NVGPRS(r1)
322 322  
323   - std r1, PACAR1(r13)
324   -
325 323 /* Load complete register state from ts_ckpt* registers */
326 324  
327 325 addi r7, r3, PT_CKPT_REGS /* Thread's ckpt_regs */