summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/dump_linuxpagetables.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-11-26 12:59:16 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-11-27 11:03:36 +1100
commit462951cd32e1496dc64b00051dfb777efc8ae5d8 (patch)
treed4a573311942525aded408b57790d0e7a84e15d7 /arch/powerpc/mm/dump_linuxpagetables.c
parent5564597d51c8ff5b88d95c76255e18b13b760879 (diff)
powerpc/mm: Fix linux page tables build with some configs
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>
Diffstat (limited to 'arch/powerpc/mm/dump_linuxpagetables.c')
-rw-r--r--arch/powerpc/mm/dump_linuxpagetables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/dump_linuxpagetables.c b/arch/powerpc/mm/dump_linuxpagetables.c
index 2b74f8adf4d0..6aa41669ac1a 100644
--- a/arch/powerpc/mm/dump_linuxpagetables.c
+++ b/arch/powerpc/mm/dump_linuxpagetables.c
@@ -19,6 +19,7 @@
#include <linux/hugetlb.h>
#include <linux/io.h>
#include <linux/mm.h>
+#include <linux/highmem.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <asm/fixmap.h>