powerpc/mm: Fix page table dump to work on Radix
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Aug 2018 11:29:45 +0000 (21:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Oct 2018 02:26:47 +0000 (13:26 +1100)
commit0d923962ab69c27cca664a2d535e90ef655110ca
tree078069f58e8161a67afc52b06938e4fba1839eef
parentafb6d0647fd250a068efd985987b5ff2c0d1b853
powerpc/mm: Fix page table dump to work on Radix

When we're running on Book3S with the Radix MMU enabled the page table
dump currently prints the wrong addresses because it uses the wrong
start address.

Fix it to use PAGE_OFFSET rather than KERN_VIRT_START.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/dump_linuxpagetables.c