aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/book3s
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-01-04 15:31:57 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-01-30 11:39:30 +1100
commit1f55aefea3c1431f662aafa02ef9ac18d8880751 (patch)
tree37a0a7634a89a603b3d94680b1723058abc5fb47 /arch/powerpc/include/asm/book3s
parentpowerpc/mm: Move hpte_insert_repeating() prototype (diff)
downloadlinux-dev-1f55aefea3c1431f662aafa02ef9ac18d8880751.tar.xz
linux-dev-1f55aefea3c1431f662aafa02ef9ac18d8880751.zip
powerpc/mm: Declare preload_new_slb_context() prototype
It fixes this W=1 compile error : ../arch/powerpc/mm/book3s64/slb.c:380:6: error: no previous prototype for ‘preload_new_slb_context’ [-Werror=missing-prototypes] 380 | void preload_new_slb_context(unsigned long start, unsigned long sp) | ^~~~~~~~~~~~~~~~~~~~~~~ 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-15-clg@kaod.org
Diffstat (limited to 'arch/powerpc/include/asm/book3s')
-rw-r--r--arch/powerpc/include/asm/book3s/64/mmu-hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/book3s/64/mmu-hash.h b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
index 2bffc7a0fdb8..f911bdb68d8b 100644
--- a/arch/powerpc/include/asm/book3s/64/mmu-hash.h
+++ b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
@@ -525,6 +525,7 @@ void slb_dump_contents(struct slb_entry *slb_ptr);
extern void slb_vmalloc_update(void);
extern void slb_set_size(u16 size);
+void preload_new_slb_context(unsigned long start, unsigned long sp);
#endif /* __ASSEMBLY__ */
/*