summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:07:49 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:09 +0100
commitc75d053b701cc098d44b729c8266a2df5ca5206e (patch)
treea94c1dec8111305a15bc2ad7a5096dd7bcb76375
parent5ade8878e03a9a298a71efbf2895aa482e45448a (diff)
um: make flush_tlb_kernel_range_common() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--arch/um/include/shared/tlb.h2
-rw-r--r--arch/um/kernel/tlb.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/include/shared/tlb.h b/arch/um/include/shared/tlb.h
index ecd2265b301..8a50ce11707 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 d175d0566af..d1da8acd918 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;