1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H
3 #define _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H
4 
5 #ifndef __ASSEMBLY__
6 #ifdef CONFIG_HUGETLB_PAGE
7 
8 #endif /* CONFIG_HUGETLB_PAGE */
9 
remap_4k_pfn(struct vm_area_struct * vma,unsigned long addr,unsigned long pfn,pgprot_t prot)10 static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr,
11 			       unsigned long pfn, pgprot_t prot)
12 {
13 	if (radix_enabled())
14 		BUG();
15 	return hash__remap_4k_pfn(vma, addr, pfn, prot);
16 }
17 #endif	/* __ASSEMBLY__ */
18 #endif /*_ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H */
19