OSDN Git Service

powerpc/64: Do load of PACAKBASE in LOAD_HANDLER
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 Jul 2016 05:29:30 +0000 (15:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2016 07:37:04 +0000 (17:37 +1000)
commitd8d42b0511fefc78165ee9b4c2d95f5d6db7350d
tree20f5e5815a31801cffbc5eeab1de3e3227370b8e
parent27510235dd2bb1ab01d27b01f0b6180eb47aa003
powerpc/64: Do load of PACAKBASE in LOAD_HANDLER

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@ellerman.id.au>
Reviewed-by: Nick Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S