]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite32bbf56ffbbce60395e1bad109d1f3a3b1cbb22
tree20f5e5815a31801cffbc5eeab1de3e3227370b8e
parent2e0437b956ad811a36970e24054d8016ba6a00f9
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