xref: /openbmc/linux/arch/alpha/include/asm/tlb.h (revision e3d786a3)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ALPHA_TLB_H
3 #define _ALPHA_TLB_H
4 
5 #define tlb_start_vma(tlb, vma)			do { } while (0)
6 #define tlb_end_vma(tlb, vma)			do { } while (0)
7 #define __tlb_remove_tlb_entry(tlb, pte, addr)	do { } while (0)
8 
9 #define tlb_flush(tlb)				flush_tlb_mm((tlb)->mm)
10 
11 #include <asm-generic/tlb.h>
12 
13 #define __pte_free_tlb(tlb, pte, address)		pte_free((tlb)->mm, pte)
14 #define __pmd_free_tlb(tlb, pmd, address)		pmd_free((tlb)->mm, pmd)
15 
16 #endif
17