Use the pmap_l1_pindex() macro which accounts for the NUL2E offset.
While here, use pmap_l2_pindex() macro further down (no change).
Prompted by pull request and commit 2e33abc35460, making the change for
the riscv pmap.
Differential D46477
arm64: fix L1 pindex calculation in pmap_growkernel() mhorne on Aug 29 2024, 3:33 PM. Authored by Tags None Referenced Files
Details Use the pmap_l1_pindex() macro which accounts for the NUL2E offset. Prompted by pull request and commit 2e33abc35460, making the change for
Diff Detail
|