OSDN Git Service

powerpc/64: change softe to irqmask in show_regs and xmon
authorNicholas Piggin <npiggin@gmail.com>
Thu, 10 May 2018 01:04:24 +0000 (11:04 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:40:30 +0000 (20:40 +1000)
commit3130a7bb6eb595f2d963976a4d3e57db77bcf06f
treeb200439bd36ee32672d713904b607a0e7aeb4739
parent81ea11d3af3aba0bea475dd1dd2f79977a761239
powerpc/64: change softe to irqmask in show_regs and xmon

When the soft enabled flag was changed to a soft disable mask, xmon
and register dump code was not updated to reflect that, which is
confusing ('SOFTE: 1' previously meant interrupts were soft enabled,
currently it means the opposite, the general interrupt type has been
disabled).

Fix this by using the name irqmask, and printing it in hex.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c
arch/powerpc/xmon/xmon.c