Home
last modified time | relevance | path

Searched refs:pmd_num (Results 1 – 1 of 1) sorted by relevance

/arch/riscv/mm/
Dinit.c234 uintptr_t pmd_num; in alloc_pmd() local
239 pmd_num = (va - PAGE_OFFSET) >> PGDIR_SHIFT; in alloc_pmd()
240 BUG_ON(pmd_num >= NUM_EARLY_PMDS); in alloc_pmd()
241 return (uintptr_t)&early_pmd[pmd_num * PTRS_PER_PMD]; in alloc_pmd()