]> git.baikalelectronics.ru Git - kernel.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)
commitb968f0071a286ce6aba2041811ccd91dedaf34af
tree9c5aae7b2d7f9dc4e191a96e12c7ae6180d16d56
parent4f1aef3d3a458e20cf8607c0aa95d42baa6a83a5
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