aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r--arch/sparc64/mm/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index 658ec462ed45..0abefc8ca40d 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -1214,6 +1214,8 @@ void __init paging_init(void)
1214 */ 1214 */
1215 real_setup_per_cpu_areas(); 1215 real_setup_per_cpu_areas();
1216 1216
1217 prom_build_devicetree();
1218
1217 /* Setup bootmem... */ 1219 /* Setup bootmem... */
1218 pages_avail = 0; 1220 pages_avail = 0;
1219 last_valid_pfn = end_pfn = bootmem_init(&pages_avail, phys_base); 1221 last_valid_pfn = end_pfn = bootmem_init(&pages_avail, phys_base);
@@ -1222,8 +1224,6 @@ void __init paging_init(void)
1222 1224
1223 kernel_physical_mapping_init(); 1225 kernel_physical_mapping_init();
1224 1226
1225 prom_build_devicetree();
1226
1227 if (tlb_type == hypervisor) 1227 if (tlb_type == hypervisor)
1228 sun4v_mdesc_init(); 1228 sun4v_mdesc_init();
1229 1229