OSDN Git Service

powerpc/40x: Avoid using r12 in TLB miss handlers
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 21 May 2020 16:56:03 +0000 (16:56 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 May 2020 13:24:36 +0000 (23:24 +1000)
commit797f4016f6da4a90ac83e32b213b68ff7be3812b
tree56241ddf356705d5f9ef08f33b20bc60105d0660
parent455531e9d88048c025ff9099796413df748d92b9
powerpc/40x: Avoid using r12 in TLB miss handlers

Let's reduce the number of registers used in TLB miss handlers.

We have both r9 and r12 available for any temporary use.

r9 is enough, avoid using r12.

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/7f330e971952abb2645fb9ca4310c0f527e84dcb.1590079969.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_40x.S