aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/tlbflush.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/tlbflush.h')
-rw-r--r--include/asm-mips/tlbflush.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/asm-mips/tlbflush.h b/include/asm-mips/tlbflush.h
index 276be77c3e85..86b21de12e91 100644
--- a/include/asm-mips/tlbflush.h
+++ b/include/asm-mips/tlbflush.h
@@ -11,7 +11,6 @@
11 * - flush_tlb_page(vma, vmaddr) flushes one page 11 * - flush_tlb_page(vma, vmaddr) flushes one page
12 * - flush_tlb_range(vma, start, end) flushes a range of pages 12 * - flush_tlb_range(vma, start, end) flushes a range of pages
13 * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages 13 * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages
14 * - flush_tlb_pgtables(mm, start, end) flushes a range of page tables
15 */ 14 */
16extern void local_flush_tlb_all(void); 15extern void local_flush_tlb_all(void);
17extern void local_flush_tlb_mm(struct mm_struct *mm); 16extern void local_flush_tlb_mm(struct mm_struct *mm);
@@ -37,18 +36,12 @@ extern void flush_tlb_one(unsigned long vaddr);
37 36
38#define flush_tlb_all() local_flush_tlb_all() 37#define flush_tlb_all() local_flush_tlb_all()
39#define flush_tlb_mm(mm) local_flush_tlb_mm(mm) 38#define flush_tlb_mm(mm) local_flush_tlb_mm(mm)
40#define flush_tlb_range(vma,vmaddr,end) local_flush_tlb_range(vma, vmaddr, end) 39#define flush_tlb_range(vma, vmaddr, end) local_flush_tlb_range(vma, vmaddr, end)
41#define flush_tlb_kernel_range(vmaddr,end) \ 40#define flush_tlb_kernel_range(vmaddr,end) \
42 local_flush_tlb_kernel_range(vmaddr, end) 41 local_flush_tlb_kernel_range(vmaddr, end)
43#define flush_tlb_page(vma,page) local_flush_tlb_page(vma, page) 42#define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page)
44#define flush_tlb_one(vaddr) local_flush_tlb_one(vaddr) 43#define flush_tlb_one(vaddr) local_flush_tlb_one(vaddr)
45 44
46#endif /* CONFIG_SMP */ 45#endif /* CONFIG_SMP */
47 46
48static inline void flush_tlb_pgtables(struct mm_struct *mm,
49 unsigned long start, unsigned long end)
50{
51 /* Nothing to do on MIPS. */
52}
53
54#endif /* __ASM_TLBFLUSH_H */ 47#endif /* __ASM_TLBFLUSH_H */