]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba50e21cfa3641f6a38a00600d204a76cc34212a
tree105a23225258f6029665e1eeb7d7bbe24bf8bc59
parentcdd4497ecbca0244935450fda3b651847c39648a
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