powerpc/40x: Don't save CR in SPRN_SPRG_SCRATCH6
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 21 May 2020 16:56:04 +0000 (16:56 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 May 2020 13:24:36 +0000 (23:24 +1000)
commit3aacaa719b7bf135551cabde2480e8f7bfdf7c7d
tree793cf6ad8d6d55f646dd1a67a2d20e07cfd4cbdc
parent797f4016f6da4a90ac83e32b213b68ff7be3812b
powerpc/40x: Don't save CR in SPRN_SPRG_SCRATCH6

We have r12 available, use it to keep CR around and don't
save it in SPRN_SPRG_SCRATCH6.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/019f314a98c107c4ca46e46c1cf402e9a44114a7.1590079969.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_40x.S