powerpc/64s/exception: Replace PROLOG macros and EXC helpers with a gas macro
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:47 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:37 +0000 (10:32 +1000)
commit7299417c8214ce09c0da01d7719c7b1c11503578
treee30a140c0e44c30e35d69006576cb3129ab35978
parent5ff79a5ea69f8f5d1131064af9f8c9a8b1bc8266
powerpc/64s/exception: Replace PROLOG macros and EXC helpers with a gas macro

This creates a single macro that generates the exception prolog code,
with variants specified by arguments, rather than assorted nested
macros for different variants.

The increasing length of macro argument list is not nice to read or
modify, but this is a temporary condition that will be improved in
later changes.

No generated code change except BUG line number constants and label
names.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802105709.27696-23-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S