forked from Minki/linux
0b1c524caa
At several places pmd pointer is retrieved through the same action: pmd = pmd_offset(pud_offset(pgd_offset(mm, addr), addr), addr); or pmd = pmd_offset(pud_offset(pgd_offset_k(addr), addr), addr); Refactor this by implementing two helpers pmd_ptr() and pmd_ptr_k() This will help when adding the p4d level. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/7b065c5be35726af4066cab238ee35cabceda1fa.1578558199.git.christophe.leroy@c-s.fr |
||
---|---|---|
.. | ||
8xx.c | ||
40x.c | ||
44x.c | ||
book3e_hugetlbpage.c | ||
book3e_pgtable.c | ||
fsl_booke.c | ||
kaslr_booke.c | ||
Makefile | ||
mmu_context.c | ||
tlb_low_64e.S | ||
tlb_low.S | ||
tlb.c |