diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-03 15:02:57 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-03 20:29:36 -0500 |
commit | f254f3909efaf59ca2d0f408de2d044dace60706 (patch) | |
tree | 3b118ca2f8d049bf5cd6bc61ec0e48ee7abfae9e /arch/x86/mm | |
parent | 4e8304758cc09a6097dbd2c4f44a5369e5c1edb0 (diff) |
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')
-rw-r--r-- | arch/x86/mm/init_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 11981fc8570a..07f44d491df1 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) | |||
168 | return ptr; | 168 | return ptr; |
169 | } | 169 | } |
170 | 170 | ||
171 | static pud_t * __init fill_pud(pgd_t *pgd, unsigned long vaddr) | 171 | static pud_t *fill_pud(pgd_t *pgd, unsigned long vaddr) |
172 | { | 172 | { |
173 | if (pgd_none(*pgd)) { | 173 | if (pgd_none(*pgd)) { |
174 | pud_t *pud = (pud_t *)spp_getpage(); | 174 | pud_t *pud = (pud_t *)spp_getpage(); |
@@ -180,7 +180,7 @@ static pud_t * __init fill_pud(pgd_t *pgd, unsigned long vaddr) | |||
180 | return pud_offset(pgd, vaddr); | 180 | return pud_offset(pgd, vaddr); |
181 | } | 181 | } |
182 | 182 | ||
183 | static pmd_t * __init fill_pmd(pud_t *pud, unsigned long vaddr) | 183 | static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr) |
184 | { | 184 | { |
185 | if (pud_none(*pud)) { | 185 | if (pud_none(*pud)) { |
186 | pmd_t *pmd = (pmd_t *) spp_getpage(); | 186 | pmd_t *pmd = (pmd_t *) spp_getpage(); |
@@ -192,7 +192,7 @@ static pmd_t * __init fill_pmd(pud_t *pud, unsigned long vaddr) | |||
192 | return pmd_offset(pud, vaddr); | 192 | return pmd_offset(pud, vaddr); |
193 | } | 193 | } |
194 | 194 | ||
195 | static pte_t * __init fill_pte(pmd_t *pmd, unsigned long vaddr) | 195 | static pte_t *fill_pte(pmd_t *pmd, unsigned long vaddr) |
196 | { | 196 | { |
197 | if (pmd_none(*pmd)) { | 197 | if (pmd_none(*pmd)) { |
198 | pte_t *pte = (pte_t *) spp_getpage(); | 198 | pte_t *pte = (pte_t *) spp_getpage(); |