]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ae7adb7dcc49e32e46ed50de427b2770ea863f9
tree793cf6ad8d6d55f646dd1a67a2d20e07cfd4cbdc
parent2eb930e176407a4599c0f11fdbb705114a0b97f4
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