sparc: Call OF and MD cpu scanning explicitly from paging_init()
We need to split up the cpu present mask setup from the cpu_data initialization, and this is a first step towards that. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user