Re: [1/3] powerpc/64s: Use BRANCH_TO_COMMON() for slb_miss_realmode

2017-06-22 Thread Michael Ellerman
On Tue, 2017-06-20 at 12:34:55 UTC, Michael Ellerman wrote: > 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 Elle

Re: [PATCH 1/3] powerpc/64s: Use BRANCH_TO_COMMON() for slb_miss_realmode

2017-06-20 Thread Nicholas Piggin
On Tue, 20 Jun 2017 22:34:55 +1000 Michael Ellerman wrote: > 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 Ell

[PATCH 1/3] powerpc/64s: Use BRANCH_TO_COMMON() for slb_miss_realmode

2017-06-20 Thread Michael Ellerman
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 --- arch/powerpc/kernel/exceptions-64s.S | 42 -