1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_BOOK3S_32_TLBFLUSH_H
3 #define _ASM_POWERPC_BOOK3S_32_TLBFLUSH_H
5 #define MMU_NO_CONTEXT (0)
7 * TLB flushing for "classic" hash-MMU 32-bit CPUs, 6xx, 7xx, 7xxx
9 extern void flush_tlb_mm(struct mm_struct
*mm
);
10 extern void flush_tlb_page(struct vm_area_struct
*vma
, unsigned long vmaddr
);
11 extern void flush_tlb_page_nohash(struct vm_area_struct
*vma
, unsigned long addr
);
12 extern void flush_tlb_range(struct vm_area_struct
*vma
, unsigned long start
,
14 extern void flush_tlb_kernel_range(unsigned long start
, unsigned long end
);
15 static inline void local_flush_tlb_page(struct vm_area_struct
*vma
,
18 flush_tlb_page(vma
, vmaddr
);
20 static inline void local_flush_tlb_mm(struct mm_struct
*mm
)
25 #endif /* _ASM_POWERPC_TLBFLUSH_H */