diff options
Diffstat (limited to 'arch')
-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 0fd9d7f77786..c250580a9432 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -228,7 +228,7 @@ __meminit void *early_ioremap(unsigned long addr, unsigned long size) | |||
228 | addr &= PMD_MASK; | 228 | addr &= PMD_MASK; |
229 | for (i = 0; i < pmds; i++, addr += PMD_SIZE) | 229 | for (i = 0; i < pmds; i++, addr += PMD_SIZE) |
230 | set_pmd(pmd+i, __pmd(addr | __PAGE_KERNEL_LARGE_EXEC)); | 230 | set_pmd(pmd+i, __pmd(addr | __PAGE_KERNEL_LARGE_EXEC)); |
231 | __flush_tlb(); | 231 | __flush_tlb_all(); |
232 | return (void *)vaddr; | 232 | return (void *)vaddr; |
233 | next: | 233 | next: |
234 | ; | 234 | ; |
@@ -249,7 +249,7 @@ __meminit void early_iounmap(void *addr, unsigned long size) | |||
249 | pmd = level2_kernel_pgt + pmd_index(vaddr); | 249 | pmd = level2_kernel_pgt + pmd_index(vaddr); |
250 | for (i = 0; i < pmds; i++) | 250 | for (i = 0; i < pmds; i++) |
251 | pmd_clear(pmd + i); | 251 | pmd_clear(pmd + i); |
252 | __flush_tlb(); | 252 | __flush_tlb_all(); |
253 | } | 253 | } |
254 | 254 | ||
255 | static void __meminit | 255 | static void __meminit |
@@ -317,7 +317,7 @@ static void __meminit phys_pud_init(pud_t *pud_page, unsigned long addr, unsigne | |||
317 | spin_unlock(&init_mm.page_table_lock); | 317 | spin_unlock(&init_mm.page_table_lock); |
318 | unmap_low_page(pmd); | 318 | unmap_low_page(pmd); |
319 | } | 319 | } |
320 | __flush_tlb(); | 320 | __flush_tlb_all(); |
321 | } | 321 | } |
322 | 322 | ||
323 | static void __init find_early_table_space(unsigned long end) | 323 | static void __init find_early_table_space(unsigned long end) |