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 43b5e9f..bfd7b8b 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) unsigned long *pte, phys, addr; after_paging_init = 1; - for (idx = FIX_BTMAP_BEGIN; idx <= FIX_BTMAP_END; idx--) { + for (idx = FIX_BTMAP_BEGIN; idx >= FIX_BTMAP_END; idx--) { addr = fix_to_virt(idx); pte = early_ioremap_pte(addr); if (!*pte & _PAGE_PRESENT) { |