Skip to content
Commit 458a3e64 authored by Tejun Heo's avatar Tejun Heo
Browse files

x86: update populate_extra_pte() and add populate_extra_pmd()



Impact: minor change to populate_extra_pte() and addition of pmd flavor

Update populate_extra_pte() to return pointer to the pte_t for the
specified address and add populate_extra_pmd() which only populates
till the pmd and returns pointer to the pmd entry for the address.

For 64bit, pud/pmd/pte fill functions are separated out from
set_pte_vaddr[_pud]() and used for set_pte_vaddr[_pud]() and
populate_extra_{pte|pmd}().

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent c0c0a293
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment