diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:07:49 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:09 -0400 |
commit | c75d053b701cc098d44b729c8266a2df5ca5206e (patch) | |
tree | a94c1dec8111305a15bc2ad7a5096dd7bcb76375 /arch | |
parent | 5ade8878e03a9a298a71efbf2895aa482e45448a (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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/shared/tlb.h | 2 | ||||
-rw-r--r-- | arch/um/kernel/tlb.c | 2 |
2 files changed, 1 insertions, 3 deletions
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 @@ | |||
9 | #include "um_mmu.h" | 9 | #include "um_mmu.h" |
10 | 10 | ||
11 | extern void force_flush_all(void); | 11 | extern void force_flush_all(void); |
12 | extern int flush_tlb_kernel_range_common(unsigned long start, | ||
13 | unsigned long end); | ||
14 | 12 | ||
15 | #endif | 13 | #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, | |||
287 | } | 287 | } |
288 | } | 288 | } |
289 | 289 | ||
290 | int flush_tlb_kernel_range_common(unsigned long start, unsigned long end) | 290 | static int flush_tlb_kernel_range_common(unsigned long start, unsigned long end) |
291 | { | 291 | { |
292 | struct mm_struct *mm; | 292 | struct mm_struct *mm; |
293 | pgd_t *pgd; | 293 | pgd_t *pgd; |