[PATCH] MSI-X: fix resume crash
[linux-2.6.22.y-op.git] / include / asm-sparc / tlb.h
blob6d02d1ce53f31b691eb86814dc6af81131ec99b2
1 #ifndef _SPARC_TLB_H
2 #define _SPARC_TLB_H
4 #define tlb_start_vma(tlb, vma) \
5 do { \
6 flush_cache_range(vma, vma->vm_start, vma->vm_end); \
7 } while (0)
9 #define tlb_end_vma(tlb, vma) \
10 do { \
11 flush_tlb_range(vma, vma->vm_start, vma->vm_end); \
12 } while (0)
14 #define __tlb_remove_tlb_entry(tlb, pte, address) \
15 do { } while (0)
17 #define tlb_flush(tlb) \
18 do { \
19 flush_tlb_mm((tlb)->mm); \
20 } while (0)
22 #include <asm-generic/tlb.h>
24 #endif /* _SPARC_TLB_H */