File Index
Files and directories
Sign in
FILE

pgtable-64k.h

File preview with syntax highlighting.

linux-6.19.14/arch/powerpc/include/asm/book3s/64/pgtable-64k.h C
 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 __ASSEMBLER__
 6#ifdef CONFIG_HUGETLB_PAGE
 7
 8#endif /* CONFIG_HUGETLB_PAGE */
 9
10static 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	/* __ASSEMBLER__ */
18#endif /*_ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H */
~/ Read-only file preview.