1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/pagemap.h>
9 #include <linux/swap.h>
11 #include <asm-generic/tlb.h>
13 #if defined(CONFIG_CPU_SH4)
14 extern void tlb_wire_entry(struct vm_area_struct
*, unsigned long, pte_t
);
15 extern void tlb_unwire_entry(void);
17 static inline void tlb_wire_entry(struct vm_area_struct
*vma
,
18 unsigned long addr
, pte_t pte
)
23 static inline void tlb_unwire_entry(void)
29 #else /* CONFIG_MMU */
31 #include <asm-generic/tlb.h>
33 #endif /* CONFIG_MMU */
34 #endif /* __ASSEMBLY__ */
35 #endif /* __ASM_SH_TLB_H */