sched: speed up context-switches a bit
[pv_ops_mirror.git] / include / asm-sh / tlb.h
blob53d185bcf872f034c513e9d8c289d95108ca0d27
1 #ifndef __ASM_SH_TLB_H
2 #define __ASM_SH_TLB_H
4 #define tlb_start_vma(tlb, vma) \
5 flush_cache_range(vma, vma->vm_start, vma->vm_end)
7 #define tlb_end_vma(tlb, vma) \
8 flush_tlb_range(vma, vma->vm_start, vma->vm_end)
10 #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
13 * Flush whole TLBs for MM
15 #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
17 #include <asm-generic/tlb.h>
18 #endif