MIPS: Fix detection of unsupported highmem with cache aliases
[deliverable/linux.git] / arch / mips / kernel / setup.c
index 3be0e6ba2797c4c5055982d908c9a277c975651d..0d57909d90261d69790156614394bce5325c5bc0 100644 (file)
@@ -764,7 +764,6 @@ static void __init arch_mem_init(char **cmdline_p)
        device_tree_init();
        sparse_init();
        plat_swiotlb_setup();
-       paging_init();
 
        dma_contiguous_reserve(PFN_PHYS(max_low_pfn));
        /* Tell bootmem about cma reserved memblock section */
@@ -877,6 +876,7 @@ void __init setup_arch(char **cmdline_p)
        prefill_possible_map();
 
        cpu_cache_init();
+       paging_init();
 }
 
 unsigned long kernelsp[NR_CPUS];
This page took 0.025435 seconds and 5 git commands to generate.