powerpc/xmon: fix dump_segments()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Nov 2018 17:31:08 +0000 (17:31 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commit32c8c4c621897199e690760c2d57054f8b84b6e6
treece28ae9e474027161460a9d464ed473c6272418d
parent0ed5b55884f8b1fa368454d47cc6ecf9790b8b99
powerpc/xmon: fix dump_segments()

mfsrin() takes segment num from bits 31-28 (IBM bits 0-3).

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Clarify bit numbering]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c