From: Al Viro Date: Thu, 18 Aug 2011 19:07:49 +0000 (+0100) Subject: um: make flush_tlb_kernel_range_common() static X-Git-Tag: firefly_0821_release~3680^2~4231^2~43 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c75d053b701cc098d44b729c8266a2df5ca5206e;p=firefly-linux-kernel-4.4.55.git um: make flush_tlb_kernel_range_common() static Signed-off-by: Al Viro Signed-off-by: Richard Weinberger --- diff --git a/arch/um/include/shared/tlb.h b/arch/um/include/shared/tlb.h index ecd2265b301b..8a50ce117076 100644 --- a/arch/um/include/shared/tlb.h +++ b/arch/um/include/shared/tlb.h @@ -9,7 +9,5 @@ #include "um_mmu.h" extern void force_flush_all(void); -extern int flush_tlb_kernel_range_common(unsigned long start, - unsigned long end); #endif diff --git a/arch/um/kernel/tlb.c b/arch/um/kernel/tlb.c index d175d0566af0..d1da8acd918b 100644 --- a/arch/um/kernel/tlb.c +++ b/arch/um/kernel/tlb.c @@ -287,7 +287,7 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr, } } -int flush_tlb_kernel_range_common(unsigned long start, unsigned long end) +static int flush_tlb_kernel_range_common(unsigned long start, unsigned long end) { struct mm_struct *mm; pgd_t *pgd;