OSDN Git Service

powerpc/xmon: Fix display of SPRs
authorBalbir Singh <bsingharora@gmail.com>
Tue, 29 Aug 2017 07:22:36 +0000 (17:22 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:13 +0000 (14:26 +1000)
commitc47a94031e81bd497704a535d60d0262a3155dbf
tree82a9afb0b63cc8f9f7197dee5b7d1d8442250073
parentf1e08232ede8d1888d51e94940645f93a8462d75
powerpc/xmon: Fix display of SPRs

Convert 0.16x to 0.16lx. Otherwise we lose the top 8 nibbles and
effectively print only the last 32 bits.

Fixes: 1846193b178d ("powerpc/xmon: Dump ISA 2.06 SPRs")
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c