Commit ee37ba7a authored by Linus Torvalds's avatar Linus Torvalds
parents 773d7a09 b99c6ebe
...@@ -1796,10 +1796,16 @@ void __init paging_init(void) ...@@ -1796,10 +1796,16 @@ void __init paging_init(void)
prom_build_devicetree(); prom_build_devicetree();
of_populate_present_mask(); of_populate_present_mask();
#ifndef CONFIG_SMP
of_fill_in_cpu_data();
#endif
if (tlb_type == hypervisor) { if (tlb_type == hypervisor) {
sun4v_mdesc_init(); sun4v_mdesc_init();
mdesc_populate_present_mask(cpu_all_mask); mdesc_populate_present_mask(cpu_all_mask);
#ifndef CONFIG_SMP
mdesc_fill_in_cpu_data(cpu_all_mask);
#endif
} }
/* Once the OF device tree and MDESC have been setup, we know /* Once the OF device tree and MDESC have been setup, we know
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment