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