um: make flush_tlb_kernel_range_common() static
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 18 Aug 2011 19:07:49 +0000 (20:07 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 2 Nov 2011 13:15:09 +0000 (14:15 +0100)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/tlb.h
arch/um/kernel/tlb.c

index ecd2265b301b06230acb3559e2543ee32594b6fd..8a50ce1170765ec5157b8bfeb2b919c2da4ac4ff 100644 (file)
@@ -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
index d175d0566af02d35acde18d805040c61a4bd29f2..d1da8acd918bec350ebaf7c1d6d5b182dc479f46 100644 (file)
@@ -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;