From: Michael Ellerman Date: Mon, 26 Nov 2018 01:59:16 +0000 (+1100) Subject: powerpc/mm: Fix linux page tables build with some configs X-Git-Tag: v4.14.93~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d661328f91c3c429a96dd62b628254057f200e8;p=platform%2Fkernel%2Flinux-rpi.git powerpc/mm: Fix linux page tables build with some configs [ 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 Signed-off-by: Sasha Levin --- diff --git a/arch/powerpc/mm/dump_linuxpagetables.c b/arch/powerpc/mm/dump_linuxpagetables.c index 31c1c61..0bbaf73 100644 --- a/arch/powerpc/mm/dump_linuxpagetables.c +++ b/arch/powerpc/mm/dump_linuxpagetables.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include