powerpc/mm: Declare some prototypes
authorCédric Le Goater <clg@kaod.org>
Mon, 4 Jan 2021 14:31:55 +0000 (15:31 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 30 Jan 2021 00:39:29 +0000 (11:39 +1100)
commitcccaf1a10abf03d91321d29ff333d6d5d4cef542
treedf58a39a8b1510c0d95def5d2588b340b9ccde57
parentbb21e1b6c5352d62d866e9236ed427f632cd537b
powerpc/mm: Declare some prototypes

It fixes this W=1 compile error :

../arch/powerpc/mm/book3s64/hash_utils.c:1515:5: error: no previous prototype for ‘__hash_page’ [-Werror=missing-prototypes]
 1515 | int __hash_page(unsigned long trap, unsigned long ea, unsigned long dsisr,
      |     ^~~~~~~~~~~
../arch/powerpc/mm/book3s64/hash_utils.c:1850:6: error: no previous prototype for ‘low_hash_fault’ [-Werror=missing-prototypes]
 1850 | void low_hash_fault(struct pt_regs *regs, unsigned long address, int rc)
      |      ^~~~~~~~~~~~~~

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-13-clg@kaod.org
arch/powerpc/include/asm/book3s/64/mmu-hash.h