OSDN Git Service

powerpc/mm: Include __find_linux_pte() prototype
authorCédric Le Goater <clg@kaod.org>
Mon, 4 Jan 2021 14:31:44 +0000 (15:31 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 30 Jan 2021 00:39:26 +0000 (11:39 +1100)
commitd25da505c3f567a8667adb0118de1400468172ac
tree57cc52b689cfb30b5280f1b30200d37b02e52557
parente5f9d8858612c192a4326f39ed16c91c3a9e0893
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
arch/powerpc/mm/pgtable.c