1 /* SPDX-License-Identifier: GPL-2.0 */
6 # include <asm/tlb_64.h>
10 #include <linux/pagemap.h>
13 #include <linux/swap.h>
15 #include <asm-generic/tlb.h>
17 #if defined(CONFIG_CPU_SH4) || defined(CONFIG_SUPERH64)
18 extern void tlb_wire_entry(struct vm_area_struct
*, unsigned long, pte_t
);
19 extern void tlb_unwire_entry(void);
21 static inline void tlb_wire_entry(struct vm_area_struct
*vma
,
22 unsigned long addr
, pte_t pte
)
27 static inline void tlb_unwire_entry(void)
33 #else /* CONFIG_MMU */
35 #include <asm-generic/tlb.h>
37 #endif /* CONFIG_MMU */
38 #endif /* __ASSEMBLY__ */
39 #endif /* __ASM_SH_TLB_H */