x86: update populate_extra_pte() and add populate_extra_pmd()
authorTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 02:57:21 +0000 (11:57 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 02:57:21 +0000 (11:57 +0900)
commit458a3e644c3327be529393982e24277eda8f1ac7
treef39bab1d54eeb222565c8d9086f2e4f645d97f58
parentc0c0a29379b5848aec2e8f1c58d853d3cb7118b8
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: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/pgtable.h
arch/x86/kernel/setup_percpu.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c