xref: /openbmc/linux/arch/sparc/include/asm/tlb_32.h (revision 293d5b43)
1 #ifndef _SPARC_TLB_H
2 #define _SPARC_TLB_H
3 
4 #define tlb_start_vma(tlb, vma) \
5 do {								\
6 	flush_cache_range(vma, vma->vm_start, vma->vm_end);	\
7 } while (0)
8 
9 #define tlb_end_vma(tlb, vma) \
10 do {								\
11 	flush_tlb_range(vma, vma->vm_start, vma->vm_end);	\
12 } while (0)
13 
14 #define __tlb_remove_tlb_entry(tlb, pte, address) \
15 	do { } while (0)
16 
17 #define tlb_flush(tlb) \
18 do {								\
19 	flush_tlb_mm((tlb)->mm);				\
20 } while (0)
21 
22 #include <asm-generic/tlb.h>
23 
24 #endif /* _SPARC_TLB_H */
25