summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-01-04 15:31:44 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-01-30 11:39:26 +1100
commitd25da505c3f567a8667adb0118de1400468172ac (patch)
tree57cc52b689cfb30b5280f1b30200d37b02e52557
parente5f9d8858612c192a4326f39ed16c91c3a9e0893 (diff)
downloadlinux-d25da505c3f567a8667adb0118de1400468172ac.tar.bz2
powerpc/mm: Include __find_linux_pte() prototype
It fixes this W=1 compile error : ../arch/powerpc/mm/pgtable.c:337:8: error: no previous prototype for ‘__find_linux_pte’ [-Werror=missing-prototypes] 337 | pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, | ^~~~~~~~~~~~~~~~ Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210104143206.695198-2-clg@kaod.org
-rw-r--r--arch/powerpc/mm/pgtable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/pgtable.c b/arch/powerpc/mm/pgtable.c
index 15555c95cebc..3a41545e5c07 100644
--- a/arch/powerpc/mm/pgtable.c
+++ b/arch/powerpc/mm/pgtable.c
@@ -26,6 +26,7 @@
#include <asm/tlbflush.h>
#include <asm/tlb.h>
#include <asm/hugetlb.h>
+#include <asm/pte-walk.h>
static inline int is_exec_fault(void)
{