powerpc/64s/exception: remove the "extra" macro parameter
authorNicholas Piggin <npiggin@gmail.com>
Sat, 22 Jun 2019 13:15:15 +0000 (23:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jul 2019 10:24:41 +0000 (20:24 +1000)
commita7c1ca19c295962eb8e1f714416a930daa582a90
tree8a2b6d94780b888d878f808a7a14bb606e0633e4
parent8f528359efbbf05a7ce657ea31b3c80b7a742269
powerpc/64s/exception: remove the "extra" macro parameter

Rather than pass in the soft-masking and KVM tests via macro that is
passed to another macro to expand it, switch to usig gas macros and
conditionally expand the soft-masking and KVM tests.

The system reset with its idle test is open coded as it is a one-off.

No generated code change.

Signed-off-by: Nicholas 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