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

Nicholas Piggin npiggin at gmail.com
Tue Jul 26 16:36:27 AEST 2016


On Tue, 26 Jul 2016 15:29:30 +1000
Michael Ellerman <mpe at ellerman.id.au> 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 PACAKBASE into the macro, making it simpler
> for callers to use correctly.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

I don't see any problem with this.

Reviewed-by: Nick Piggin <npiggin at gmail.com>


More information about the Linuxppc-dev mailing list