arch/powerpc/include/asm/book3s/64/pgtable-64k.h

Source file repositories/reference/linux-study-clean/arch/powerpc/include/asm/book3s/64/pgtable-64k.h

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/asm/book3s/64/pgtable-64k.h
Extension
.h
Size
498 bytes
Lines
19
Domain
Architecture Layer
Bucket
arch/powerpc
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H
#define _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H

#ifndef __ASSEMBLER__
#ifdef CONFIG_HUGETLB_PAGE

#endif /* CONFIG_HUGETLB_PAGE */

static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr,
			       unsigned long pfn, pgprot_t prot)
{
	if (radix_enabled())
		BUG();
	return hash__remap_4k_pfn(vma, addr, pfn, prot);
}
#endif	/* __ASSEMBLER__ */
#endif /*_ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H */

Annotation

Implementation Notes