Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SH_TLB_H |
2 | #define __ASM_SH_TLB_H | ||||
3 | |||||
4 | #define tlb_start_vma(tlb, vma) \ | ||||
5 | flush_cache_range(vma, vma->vm_start, vma->vm_end) | ||||
6 | |||||
7 | #define tlb_end_vma(tlb, vma) \ | ||||
8 | flush_tlb_range(vma, vma->vm_start, vma->vm_end) | ||||
9 | |||||
10 | #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0) | ||||
11 | |||||
12 | /* | ||||
13 | * Flush whole TLBs for MM | ||||
14 | */ | ||||
15 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) | ||||
16 | |||||
17 | #include <asm-generic/tlb.h> | ||||
18 | #endif |