projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed5b55
)
powerpc/xmon: fix dump_segments()
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Fri, 16 Nov 2018 17:31:08 +0000
(17:31 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000
(18:56 +1100)
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
patch
|
blob
|
history
diff --git
a/arch/powerpc/xmon/xmon.c
b/arch/powerpc/xmon/xmon.c
index 372f4d80bcd631e6d5545c601ca0a596a9ffe230..757b8499aba2ebb52ba16850c846b726f40455f0 100644
(file)
--- a/
arch/powerpc/xmon/xmon.c
+++ b/
arch/powerpc/xmon/xmon.c
@@
-3504,7
+3504,7
@@
void dump_segments(void)
printf("sr0-15 =");
for (i = 0; i < 16; ++i)
- printf(" %x", mfsrin(i));
+ printf(" %x", mfsrin(i
<< 28
));
printf("\n");
}
#endif