]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/mm: Fix page table dump build on PPC32
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 18 Apr 2017 06:20:13 +0000 (08:20 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 27 Apr 2017 12:20:26 +0000 (22:20 +1000)
commit6c01bbd2cf8cbc1906818b402b10bca2283c4e7e
treea0d224b60d18bd0df5a8555c7516f101c2af905e
parenta5998fcb92552a18713b6aa5c146aa400e4d75ee
powerpc/mm: Fix page table dump build on PPC32

On PPC32 (eg. mpc885_ads_defconfig), page table dump compilation fails as
follows. This is because the memory layout is slightly different on PPC32. This
patch adapts it.

  arch/powerpc/mm/dump_linuxpagetables.c: In function 'walk_pagetables':
  arch/powerpc/mm/dump_linuxpagetables.c:369:10: error: 'KERN_VIRT_START' undeclared (first use in this function)
  ...

Fixes: 8eb07b187000d ("powerpc/mm: Dump linux pagetables")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/dump_linuxpagetables.c