powerpc/64s/interrupt: move early boot ILE fixup into a macro
authorNicholas Piggin <npiggin@gmail.com>
Mon, 26 Sep 2022 05:56:16 +0000 (15:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:12 +0000 (19:22 +1000)
commitbf75a3258a40327b73c5b4458ae8102cfa921b40
tree789d3f8a4c61d1477ebd0c8154ee474b1b61679e
parent3569d84bb26f6f07d426446da3d2c836180f1565
powerpc/64s/interrupt: move early boot ILE fixup into a macro

In preparation for using this sequence in machine check interrupt, move
it into a macro, with a small change to make it position independent.

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