/usr/src/linux-headers-5.15.0-181/arch/powerpc/include/asm/nohash/32
NameSizeModeActions
hugetlb-8xx.h20930644editdlrm
kup-8xx.h21640644editdlrm
mmu-8xx.h99030644editdlrm
mmu-40x.h19780644editdlrm
mmu-44x.h58670644editdlrm
pgalloc.h10150644editdlrm
pgtable.h111310644editdlrm
pte-8xx.h60500644editdlrm
pte-40x.h36630644editdlrm
pte-44x.h49800644editdlrm
pte-fsl-booke.h25940644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/arch/powerpc/include/asm/nohash/32/pgalloc.h (1015B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_POWERPC_PGALLOC_32_H #define _ASM_POWERPC_PGALLOC_32_H #include #include /* * We don't have any real pmd's, and this code never triggers because * the pgd will always be present.. */ /* #define pmd_alloc_one(mm,address) ({ BUG(); ((pmd_t *)2); }) */ #define pmd_free(mm, x) do { } while (0) #define __pmd_free_tlb(tlb,x,a) do { } while (0) /* #define pgd_populate(mm, pmd, pte) BUG() */ static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *pte) { if (IS_ENABLED(CONFIG_BOOKE)) *pmdp = __pmd((unsigned long)pte | _PMD_PRESENT); else *pmdp = __pmd(__pa(pte) | _PMD_PRESENT); } static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmdp, pgtable_t pte_page) { if (IS_ENABLED(CONFIG_BOOKE)) *pmdp = __pmd((unsigned long)pte_page | _PMD_PRESENT); else *pmdp = __pmd(__pa(pte_page) | _PMD_USER | _PMD_PRESENT); } #endif /* _ASM_POWERPC_PGALLOC_32_H */