]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:21:56 +0000 (09:21 +0100)
commit7bd05ac862e29bbf5eee657b11adfd465c29fe61
tree1a353b58dea95abef4509f8c13f3ce87c97d63b4
parentc467bb652d448ed6f8e9c0e0e7047e6dec5c9e22
powerpc/mm: Fix page table dump to work on Radix

[ Upstream commit 0d923962ab69c27cca664a2d535e90ef655110ca ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/mm/dump_linuxpagetables.c