]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/64s: Use BRANCH_TO_COMMON() for slb_miss_realmode
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Jun 2017 11:47:11 +0000 (21:47 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Jun 2017 06:18:24 +0000 (16:18 +1000)
commitb102063b47d59752e113c5588422279c75eadd4d
tree9ef5967f827ae721e1639c6128be2d4a7d9f0160
parent8568f1e02624e6ce34644369e6ca137d10e32a88
powerpc/64s: Use BRANCH_TO_COMMON() for slb_miss_realmode

All the callers of slb_miss_realmode currently open code the #ifndef
CONFIG_RELOCATABLE check and the branch via CTR in the RELOCATABLE case.
We have a macro to do this, BRANCH_TO_COMMON(), so use it.

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