diff options
Diffstat (limited to 'arch/x86/mm/ioremap.c')
-rw-r--r-- | arch/x86/mm/ioremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 092b3d72498..45e546c4ba7 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -485,7 +485,7 @@ static void __init __early_set_fixmap(enum fixed_addresses idx, | |||
485 | if (pgprot_val(flags)) | 485 | if (pgprot_val(flags)) |
486 | set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); | 486 | set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); |
487 | else | 487 | else |
488 | pte_clear(NULL, addr, pte); | 488 | pte_clear(&init_mm, addr, pte); |
489 | __flush_tlb_one(addr); | 489 | __flush_tlb_one(addr); |
490 | } | 490 | } |
491 | 491 | ||