]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2eb930e176407a4599c0f11fdbb705114a0b97f4
tree56241ddf356705d5f9ef08f33b20bc60105d0660
parent719e69acdad1fcae0a837590c069e477448515e4
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