]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/64s: SLB miss already has CTR saved for relocatable kernel
authorNicholas Piggin <npiggin@gmail.com>
Sun, 21 May 2017 13:15:44 +0000 (23:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 20 Jun 2017 12:21:58 +0000 (22:21 +1000)
commitfe5482c04312791bb19202e47f8a7751d476251e
tree9c5aae7b2d7f9dc4e191a96e12c7ae6180d16d56
parent7c28f04828dc8321cb234b2ad57266b9f902add0
powerpc/64s: SLB miss already has CTR saved for relocatable kernel

The EXCEPTION_PROLOG_1 used by SLB miss already saves CTR when the
kernel is built with CONFIG_RELOCATABLE. So it does not have to be
saved and reloaded when branching to slb_miss_realmode. It can be
restored from the PACA as usual.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/exceptions-64s.S