diff options
-rw-r--r-- | arch/x86/mm/ioremap_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/ioremap_32.c b/arch/x86/mm/ioremap_32.c index 43b5e9fd6370..bfd7b8b2fe60 100644 --- a/arch/x86/mm/ioremap_32.c +++ b/arch/x86/mm/ioremap_32.c | |||
@@ -247,7 +247,7 @@ void __init early_ioremap_reset(void) | |||
247 | unsigned long *pte, phys, addr; | 247 | unsigned long *pte, phys, addr; |
248 | 248 | ||
249 | after_paging_init = 1; | 249 | after_paging_init = 1; |
250 | for (idx = FIX_BTMAP_BEGIN; idx <= FIX_BTMAP_END; idx--) { | 250 | for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) { |
251 | addr = fix_to_virt(idx); | 251 | addr = fix_to_virt(idx); |
252 | pte = early_ioremap_pte(addr); | 252 | pte = early_ioremap_pte(addr); |
253 | if (!*pte & _PAGE_PRESENT) { | 253 | if (!*pte & _PAGE_PRESENT) { |