diff options
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index bbfbca5fea0c..9c337b0e8ba7 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1221,11 +1221,16 @@ void __init setup_arch(char **cmdline_p) | |||
1221 | */ | 1221 | */ |
1222 | get_smp_config(); | 1222 | get_smp_config(); |
1223 | 1223 | ||
1224 | /* | ||
1225 | * Systems w/o ACPI and mptables might not have it mapped the local | ||
1226 | * APIC yet, but prefill_possible_map() might need to access it. | ||
1227 | */ | ||
1228 | init_apic_mappings(); | ||
1229 | |||
1224 | prefill_possible_map(); | 1230 | prefill_possible_map(); |
1225 | 1231 | ||
1226 | init_cpu_to_node(); | 1232 | init_cpu_to_node(); |
1227 | 1233 | ||
1228 | init_apic_mappings(); | ||
1229 | io_apic_init_mappings(); | 1234 | io_apic_init_mappings(); |
1230 | 1235 | ||
1231 | kvm_guest_init(); | 1236 | kvm_guest_init(); |