powerpc: Consolidate 32-bit and 64-bit interrupt_enter_prepare
authorNicholas Piggin <npiggin@gmail.com>
Sat, 21 Jan 2023 09:58:03 +0000 (19:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2023 11:17:35 +0000 (22:17 +1100)
commitfb3b72a3f483f81a33a9693ed03dc62158a6f77e
tree5f051cc4d21193fbc9dc35ec5848add21d0cce78
parent60bd7936f99fd8cdbeca67180f80ea13d8b97a76
powerpc: Consolidate 32-bit and 64-bit interrupt_enter_prepare

There are two separeate implementations for 32-bit and 64-bit which
mostly do the same thing. Consolidating on one implementation ends
up being smaller and simpler, there is just irq soft-mask reconcile
that is specific to 64-bit.

There should be no real functional change with this patch, but it
does make the context tracking calls necessary for 32-bit to support
context tracking.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230121095805.2823731-2-npiggin@gmail.com
arch/powerpc/include/asm/interrupt.h