mips: move build_tlb_refill_handler() prototype
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Dec 2023 11:56:57 +0000 (12:56 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:39 +0000 (17:21 -0800)
commit6fb04df9b9b49891eebbdab6728f92091540e166
tree8c263f2acfaaaae862122d5375edffdb5344c896
parent9a2036724cd693fef6c7609a856e56fa0d348be9
mips: move build_tlb_refill_handler() prototype

Instead of having a declaration for each caller, have one that is shared
with the function definition, which avoids a warning:

arch/mips/mm/tlbex.c:2547:6: error: no previous prototype for 'build_tlb_refill_handler' [-Werror=missing-prototypes]

Link: https://lkml.kernel.org/r/20231204115710.2247097-8-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Rothwell <sfr@rothwell.id.au>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/include/asm/tlbex.h
arch/mips/mm/tlb-r3k.c
arch/mips/mm/tlb-r4k.c