powerpc/mm: Move hpte_insert_repeating() prototype
authorCédric Le Goater <clg@kaod.org>
Mon, 4 Jan 2021 14:31:56 +0000 (15:31 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 30 Jan 2021 00:39:29 +0000 (11:39 +1100)
commit11f9c1d2fb497f69f83d4fab6fb7fc8a6884eded
tree8f0c6f0e0734f9051ae1b95166fd597549c9a7aa
parentcccaf1a10abf03d91321d29ff333d6d5d4cef542
powerpc/mm: Move hpte_insert_repeating() prototype

It fixes this W=1 compile error :

../arch/powerpc/mm/book3s64/hash_utils.c:1867:6: error: no previous prototype for ‘hpte_insert_repeating’ [-Werror=missing-prototypes]
 1867 | long hpte_insert_repeating(unsigned long hash, unsigned long vpn,
      |      ^~~~~~~~~~~~~~~~~~~~~

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-14-clg@kaod.org
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/mm/book3s64/hash_hugetlbpage.c