aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
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 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
171static pud_t * __init fill_pud(pgd_t *pgd, unsigned long vaddr) 171static 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
183static pmd_t * __init fill_pmd(pud_t *pud, unsigned long vaddr) 183static 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
195static pte_t * __init fill_pte(pmd_t *pmd, unsigned long vaddr) 195static 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();