powerpc/64s/exception: Introduce INT_DEFINE parameter block for code generation
authorNicholas Piggin <npiggin@gmail.com>
Tue, 25 Feb 2020 17:35:10 +0000 (03:35 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Apr 2020 02:42:09 +0000 (13:42 +1100)
commita42a239db3262b8185cb1a07a9350392ef1439ca
tree4afa399f8d26c034f031363e7f87409ddcb09d01
parenta2e366832f3f4d5e1b47b7c7f7c41977bd5100f4
powerpc/64s/exception: Introduce INT_DEFINE parameter block for code generation

The code generation macro arguments are difficult to read, and
defaults can't easily be used.

This introduces a block where parameters can be set for interrupt
handler code generation by the subsequent macros, and adds the first
generation macro for interrupt entry.

One interrupt handler is converted to the new macros to demonstrate
the change, the rest will be coverted all at once.

No generated code change.

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