summaryrefslogtreecommitdiff
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-03-03 20:02:57 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-03-04 01:29:36 (GMT)
commitf254f3909efaf59ca2d0f408de2d044dace60706 (patch)
tree3b118ca2f8d049bf5cd6bc61ec0e48ee7abfae9e /arch/x86/mm/init_64.c
parent4e8304758cc09a6097dbd2c4f44a5369e5c1edb0 (diff)
downloadlinux-f254f3909efaf59ca2d0f408de2d044dace60706.tar.xz
x86: un-__init fill_pud/pmd/pte
They are used by __set_fixmap->set_pte_vaddr_pud, which can be used by arch_setup_additional_pages(), and so is used after init. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 11981fc..07f44d4 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -168,7 +168,7 @@ static __ref void *spp_getpage(void)
return ptr;
}
-static pud_t * __init fill_pud(pgd_t *pgd, unsigned long vaddr)
+static pud_t *fill_pud(pgd_t *pgd, unsigned long vaddr)
{
if (pgd_none(*pgd)) {
pud_t *pud = (pud_t *)spp_getpage();
@@ -180,7 +180,7 @@ static pud_t * __init fill_pud(pgd_t *pgd, unsigned long vaddr)
return pud_offset(pgd, vaddr);
}
-static pmd_t * __init fill_pmd(pud_t *pud, unsigned long vaddr)
+static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr)
{
if (pud_none(*pud)) {
pmd_t *pmd = (pmd_t *) spp_getpage();
@@ -192,7 +192,7 @@ static pmd_t * __init fill_pmd(pud_t *pud, unsigned long vaddr)
return pmd_offset(pud, vaddr);
}
-static pte_t * __init fill_pte(pmd_t *pmd, unsigned long vaddr)
+static pte_t *fill_pte(pmd_t *pmd, unsigned long vaddr)
{
if (pmd_none(*pmd)) {
pte_t *pte = (pte_t *) spp_getpage();