Re: [PATCH 2/2] powerpc/64: Do load of PACAKBASE in LOAD_HANDLER

2016-07-25 Thread Nicholas Piggin
On Tue, 26 Jul 2016 15:29:30 +1000 Michael Ellerman wrote: > The LOAD_HANDLER macro requires that you have previously loaded "reg" > with PACAKBASE. Although that gives callers flexibility to get > PACAKBASE in some interesting way, none of the callers actually do > that. So fold the load of PACA

[PATCH 2/2] powerpc/64: Do load of PACAKBASE in LOAD_HANDLER

2016-07-25 Thread Michael Ellerman
The LOAD_HANDLER macro requires that you have previously loaded "reg" with PACAKBASE. Although that gives callers flexibility to get PACAKBASE in some interesting way, none of the callers actually do that. So fold the load of PACAKBASE into the macro, making it simpler for callers to use correctly.