diff options
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/init_32.c | 1 | ||||
-rw-r--r-- | arch/sparc/mm/init_64.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c index cbb282dab5a7..26bb3919ff1f 100644 --- a/arch/sparc/mm/init_32.c +++ b/arch/sparc/mm/init_32.c | |||
@@ -358,6 +358,7 @@ void __init paging_init(void) | |||
358 | protection_map[15] = PAGE_SHARED; | 358 | protection_map[15] = PAGE_SHARED; |
359 | btfixup(); | 359 | btfixup(); |
360 | prom_build_devicetree(); | 360 | prom_build_devicetree(); |
361 | of_fill_in_cpu_data(); | ||
361 | device_scan(); | 362 | device_scan(); |
362 | } | 363 | } |
363 | 364 | ||
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index f26a352c08a0..c589d6e65668 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -1806,9 +1806,12 @@ void __init paging_init(void) | |||
1806 | real_setup_per_cpu_areas(); | 1806 | real_setup_per_cpu_areas(); |
1807 | 1807 | ||
1808 | prom_build_devicetree(); | 1808 | prom_build_devicetree(); |
1809 | of_fill_in_cpu_data(); | ||
1809 | 1810 | ||
1810 | if (tlb_type == hypervisor) | 1811 | if (tlb_type == hypervisor) { |
1811 | sun4v_mdesc_init(); | 1812 | sun4v_mdesc_init(); |
1813 | mdesc_fill_in_cpu_data(CPU_MASK_ALL); | ||
1814 | } | ||
1812 | 1815 | ||
1813 | /* Once the OF device tree and MDESC have been setup, we know | 1816 | /* Once the OF device tree and MDESC have been setup, we know |
1814 | * the list of possible cpus. Therefore we can allocate the | 1817 | * the list of possible cpus. Therefore we can allocate the |