staging: erofs: fix warning Comparison to bool
[linux/fpc-iii.git] / arch / sparc / include / asm / tlbflush_32.h
blob470531991a0826fae1528e3b803dc313e321b7e8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _SPARC_TLBFLUSH_H
3 #define _SPARC_TLBFLUSH_H
5 #include <asm/cachetlb_32.h>
7 #define flush_tlb_all() \
8 sparc32_cachetlb_ops->tlb_all()
9 #define flush_tlb_mm(mm) \
10 sparc32_cachetlb_ops->tlb_mm(mm)
11 #define flush_tlb_range(vma, start, end) \
12 sparc32_cachetlb_ops->tlb_range(vma, start, end)
13 #define flush_tlb_page(vma, addr) \
14 sparc32_cachetlb_ops->tlb_page(vma, addr)
17 * This is a kludge, until I know better. --zaitcev XXX
19 static inline void flush_tlb_kernel_range(unsigned long start,
20 unsigned long end)
22 flush_tlb_all();
25 #endif /* _SPARC_TLBFLUSH_H */