xref: /openbmc/linux/arch/x86/include/asm/tlb.h (revision a8da474e)
1 #ifndef _ASM_X86_TLB_H
2 #define _ASM_X86_TLB_H
3 
4 #define tlb_start_vma(tlb, vma) do { } while (0)
5 #define tlb_end_vma(tlb, vma) do { } while (0)
6 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
7 
8 #define tlb_flush(tlb)							\
9 {									\
10 	if (!tlb->fullmm && !tlb->need_flush_all) 			\
11 		flush_tlb_mm_range(tlb->mm, tlb->start, tlb->end, 0UL);	\
12 	else								\
13 		flush_tlb_mm_range(tlb->mm, 0UL, TLB_FLUSH_ALL, 0UL);	\
14 }
15 
16 #include <asm-generic/tlb.h>
17 
18 #endif /* _ASM_X86_TLB_H */
19