]> git.baikalelectronics.ru Git - kernel.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)
commitfa394f1d62d8f9d12eecfd547c68b2fd4e3af978
treea0d224b60d18bd0df5a8555c7516f101c2af905e
parente9d8c867dd04b4ae9e012391ed3594fdf2ea1e08
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: 0796cc493713f ("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