diff options
Diffstat (limited to 'arch/sparc64/mm')
-rw-r--r-- | arch/sparc64/mm/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 0abefc8ca40d..8e0e86787127 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -1216,6 +1216,9 @@ void __init paging_init(void) | |||
1216 | 1216 | ||
1217 | prom_build_devicetree(); | 1217 | prom_build_devicetree(); |
1218 | 1218 | ||
1219 | if (tlb_type == hypervisor) | ||
1220 | sun4v_mdesc_init(); | ||
1221 | |||
1219 | /* Setup bootmem... */ | 1222 | /* Setup bootmem... */ |
1220 | pages_avail = 0; | 1223 | pages_avail = 0; |
1221 | last_valid_pfn = end_pfn = bootmem_init(&pages_avail, phys_base); | 1224 | last_valid_pfn = end_pfn = bootmem_init(&pages_avail, phys_base); |
@@ -1224,9 +1227,6 @@ void __init paging_init(void) | |||
1224 | 1227 | ||
1225 | kernel_physical_mapping_init(); | 1228 | kernel_physical_mapping_init(); |
1226 | 1229 | ||
1227 | if (tlb_type == hypervisor) | ||
1228 | sun4v_mdesc_init(); | ||
1229 | |||
1230 | { | 1230 | { |
1231 | unsigned long zones_size[MAX_NR_ZONES]; | 1231 | unsigned long zones_size[MAX_NR_ZONES]; |
1232 | unsigned long zholes_size[MAX_NR_ZONES]; | 1232 | unsigned long zholes_size[MAX_NR_ZONES]; |