summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/tlbex.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-12-04 14:56:57 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-12-11 04:21:39 +0300
commit6fb04df9b9b49891eebbdab6728f92091540e166 (patch)
tree8c263f2acfaaaae862122d5375edffdb5344c896 /arch/mips/include/asm/tlbex.h
parent9a2036724cd693fef6c7609a856e56fa0d348be9 (diff)
downloadlinux-6fb04df9b9b49891eebbdab6728f92091540e166.tar.xz
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>
Diffstat (limited to 'arch/mips/include/asm/tlbex.h')
-rw-r--r--arch/mips/include/asm/tlbex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/tlbex.h b/arch/mips/include/asm/tlbex.h
index 6d97e23f30ab..24a2d06cc1c3 100644
--- a/arch/mips/include/asm/tlbex.h
+++ b/arch/mips/include/asm/tlbex.h
@@ -23,6 +23,7 @@ void build_update_entries(u32 **p, unsigned int tmp, unsigned int ptep);
void build_tlb_write_entry(u32 **p, struct uasm_label **l,
struct uasm_reloc **r,
enum tlb_write_entry wmode);
+void build_tlb_refill_handler(void);
extern void handle_tlbl(void);
extern char handle_tlbl_end[];