]> 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)
commitf6fe7c0a89908109900acd178e883302651e5a5f
tree20f5e5815a31801cffbc5eeab1de3e3227370b8e
parent634edb269e58b6eda05ee0b5ef8ef19b12a463f1
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