powerpc/interrupt: Use names in check_return_regs_valid()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 25 Jun 2021 14:49:09 +0000 (14:49 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 26 Jun 2021 00:59:21 +0000 (10:59 +1000)
commitb064037ea4104120418ccbf39951a6d529a9d6d5
tree105a23225258f6029665e1eeb7d7bbe24bf8bc59
parent767e6e7130b288d856e4f2be365554dc6147a80a
powerpc/interrupt: Use names in check_return_regs_valid()

trap->regs == 0x3000 is trap_is_scv()

trap 0x500 is INTERRUPT_EXTERNAL

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/d48bf0184a1de185eb0ed3282247f8a294710674.1624632537.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/interrupt.c