diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-05-26 21:02:14 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-05 13:20:00 +1000 |
commit | 736256e4f1bc50bb8198c9b61dffd5fd0de17477 (patch) | |
tree | e885fa76651073286b77358f27e8360719975e93 /include/net/mld.h | |
parent | 4926616c77435e735c59288f838e7761baec4a6c (diff) | |
download | op-kernel-dev-736256e4f1bc50bb8198c9b61dffd5fd0de17477.zip op-kernel-dev-736256e4f1bc50bb8198c9b61dffd5fd0de17477.tar.gz |
powerpc/xmon: Fix up xmon format strings
There are a couple of places where xmon is using %x to print values that
are unsigned long.
I found this out the hard way recently:
0:mon> p c000000000d0e7c8 c00000033dc90000 00000000a0000089 c000000000000000
return value is 0x96300500
Which is calling find_linux_pte_or_hugepte(), the result should be a
kernel pointer. After decoding the page tables by hand I discovered the
correct value was c000000396300500.
So fix up that case and a few others.
We also use a mix of 0x%x, %x and %u to print cpu numbers. So
standardise on 0x%x.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/net/mld.h')
0 files changed, 0 insertions, 0 deletions