ARM: add support for generic early_ioremap/early_memremap
[cascardo/linux.git] / arch / arm / mm / mmu.c
index 4867f5d..de19f90 100644 (file)
@@ -390,7 +390,7 @@ void __init early_fixmap_init(void)
         * The early fixmap range spans multiple pmds, for which
         * we are not prepared:
         */
-       BUILD_BUG_ON((__fix_to_virt(__end_of_permanent_fixed_addresses) >> PMD_SHIFT)
+       BUILD_BUG_ON((__fix_to_virt(__end_of_early_ioremap_region) >> PMD_SHIFT)
                     != FIXADDR_TOP >> PMD_SHIFT);
 
        pmd = fixmap_pmd(FIXADDR_TOP);