From: Michael Neuling Date: Fri, 28 Mar 2014 05:40:33 +0000 (+1100) Subject: powerpc/tm: Remove unnecessary r1 save X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce0ac1fc326b6a4116728be933ff46d75269baa1;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/tm.S b/arch/powerpc/kernel/tm.S index 03567c05950a..0535c7fdd12c 100644 --- a/arch/powerpc/kernel/tm.S +++ b/arch/powerpc/kernel/tm.S @@ -320,8 +320,6 @@ _GLOBAL(__tm_recheckpoint) */ SAVE_NVGPRS(r1) - std r1, PACAR1(r13) - /* Load complete register state from ts_ckpt* registers */ addi r7, r3, PT_CKPT_REGS /* Thread's ckpt_regs */