]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/mm: Fix linux page tables build with some configs
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Nov 2018 01:59:16 +0000 (12:59 +1100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit9fbbf020f6e65629d373dabd659cd9f27488651c
tree95fad450b92891e6f4b7bcf64c0040b9ac97dc81
parente90581839d3c016f2fd768413471f05586d21f1f
powerpc/mm: Fix linux page tables build with some configs

BugLink: https://bugs.launchpad.net/bugs/1837477
[ Upstream commit 462951cd32e1496dc64b00051dfb777efc8ae5d8 ]

For some configs the build fails with:

  arch/powerpc/mm/dump_linuxpagetables.c: In function 'populate_markers':
  arch/powerpc/mm/dump_linuxpagetables.c:306:39: error: 'PKMAP_BASE' undeclared (first use in this function)
  arch/powerpc/mm/dump_linuxpagetables.c:314:50: error: 'LAST_PKMAP' undeclared (first use in this function)

These come from highmem.h, including that fixes the build.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/mm/dump_linuxpagetables.c