diff options
Diffstat (limited to 'arch/um/kernel/tlb.c')
-rw-r--r-- | arch/um/kernel/tlb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/kernel/tlb.c b/arch/um/kernel/tlb.c index d175d0566af0..7f3d4d86431a 100644 --- a/arch/um/kernel/tlb.c +++ b/arch/um/kernel/tlb.c | |||
@@ -4,6 +4,7 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/mm.h> | 6 | #include <linux/mm.h> |
7 | #include <linux/module.h> | ||
7 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
8 | #include <asm/pgtable.h> | 9 | #include <asm/pgtable.h> |
9 | #include <asm/tlbflush.h> | 10 | #include <asm/tlbflush.h> |
@@ -11,7 +12,6 @@ | |||
11 | #include "mem_user.h" | 12 | #include "mem_user.h" |
12 | #include "os.h" | 13 | #include "os.h" |
13 | #include "skas.h" | 14 | #include "skas.h" |
14 | #include "tlb.h" | ||
15 | 15 | ||
16 | struct host_vm_change { | 16 | struct host_vm_change { |
17 | struct host_vm_op { | 17 | struct host_vm_op { |
@@ -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; |
@@ -499,6 +499,7 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, | |||
499 | flush_tlb_kernel_range_common(start, end); | 499 | flush_tlb_kernel_range_common(start, end); |
500 | else fix_range(vma->vm_mm, start, end, 0); | 500 | else fix_range(vma->vm_mm, start, end, 0); |
501 | } | 501 | } |
502 | EXPORT_SYMBOL(flush_tlb_range); | ||
502 | 503 | ||
503 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, | 504 | void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, |
504 | unsigned long end) | 505 | unsigned long end) |