sparc: Call OF and MD cpu scanning explicitly from paging_init()
[deliverable/linux.git] / arch / sparc / mm / init_64.c
index f26a352c08a068b0b915ddc0d309c394cb2fc966..c589d6e6566835355ea2a48cbfa8a572d21d1403 100644 (file)
@@ -1806,9 +1806,12 @@ void __init paging_init(void)
        real_setup_per_cpu_areas();
 
        prom_build_devicetree();
+       of_fill_in_cpu_data();
 
-       if (tlb_type == hypervisor)
+       if (tlb_type == hypervisor) {
                sun4v_mdesc_init();
+               mdesc_fill_in_cpu_data(CPU_MASK_ALL);
+       }
 
        /* Once the OF device tree and MDESC have been setup, we know
         * the list of possible cpus.  Therefore we can allocate the
This page took 0.023527 seconds and 5 git commands to generate.