diff options
Diffstat (limited to 'include/asm-um/tlbflush.h')
-rw-r--r-- | include/asm-um/tlbflush.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-um/tlbflush.h b/include/asm-um/tlbflush.h index e78c28c1f350..7912e18d93e3 100644 --- a/include/asm-um/tlbflush.h +++ b/include/asm-um/tlbflush.h | |||
@@ -7,7 +7,6 @@ | |||
7 | #define __UM_TLBFLUSH_H | 7 | #define __UM_TLBFLUSH_H |
8 | 8 | ||
9 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
10 | #include "choose-mode.h" | ||
11 | 10 | ||
12 | /* | 11 | /* |
13 | * TLB flushing: | 12 | * TLB flushing: |
@@ -31,10 +30,7 @@ extern void flush_tlb_page_skas(struct vm_area_struct *vma, | |||
31 | static inline void flush_tlb_page(struct vm_area_struct *vma, | 30 | static inline void flush_tlb_page(struct vm_area_struct *vma, |
32 | unsigned long address) | 31 | unsigned long address) |
33 | { | 32 | { |
34 | address &= PAGE_MASK; | 33 | flush_tlb_page_skas(vma, address & PAGE_MASK); |
35 | |||
36 | CHOOSE_MODE(flush_tlb_range(vma, address, address + PAGE_SIZE), | ||
37 | flush_tlb_page_skas(vma, address)); | ||
38 | } | 34 | } |
39 | 35 | ||
40 | extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); | 36 | extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); |