diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-01-04 17:31:44 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-01-30 03:39:26 +0300 |
commit | d25da505c3f567a8667adb0118de1400468172ac (patch) | |
tree | 57cc52b689cfb30b5280f1b30200d37b02e52557 /arch/powerpc | |
parent | e5f9d8858612c192a4326f39ed16c91c3a9e0893 (diff) | |
download | linux-d25da505c3f567a8667adb0118de1400468172ac.tar.xz |
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
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/mm/pgtable.c | 1 |
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) { |