aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/ioremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/ioremap.c')
-rw-r--r--arch/x86/mm/ioremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index ed795721ca8e..a177d76e1c53 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -340,7 +340,7 @@ void __init early_ioremap_reset(void)
340 for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) { 340 for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) {
341 addr = fix_to_virt(idx); 341 addr = fix_to_virt(idx);
342 pte = early_ioremap_pte(addr); 342 pte = early_ioremap_pte(addr);
343 if (!*pte & _PAGE_PRESENT) { 343 if (*pte & _PAGE_PRESENT) {
344 phys = *pte & PAGE_MASK; 344 phys = *pte & PAGE_MASK;
345 set_fixmap(idx, phys); 345 set_fixmap(idx, phys);
346 } 346 }