1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/pagemap.h>
7 #include <asm-generic/tlb.h>
10 #include <linux/swap.h>
12 #if defined(CONFIG_CPU_SH4)
13 extern void tlb_wire_entry(struct vm_area_struct
*, unsigned long, pte_t
);
14 extern void tlb_unwire_entry(void);
16 static inline void tlb_wire_entry(struct vm_area_struct
*vma
,
17 unsigned long addr
, pte_t pte
)
22 static inline void tlb_unwire_entry(void)
26 #endif /* CONFIG_CPU_SH4 */
28 asmlinkage
int handle_tlbmiss(struct pt_regs
*regs
, unsigned long error_code
,
29 unsigned long address
);
31 #endif /* CONFIG_MMU */
32 #endif /* __ASSEMBLY__ */
33 #endif /* __ASM_SH_TLB_H */