|
@@ -1109,8 +1109,6 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus)
|
|
|
}
|
|
|
set_cpu_sibling_map(0);
|
|
|
|
|
|
- enable_IR_x2apic();
|
|
|
- default_setup_apic_routing();
|
|
|
|
|
|
if (smp_sanity_check(max_cpus) < 0) {
|
|
|
printk(KERN_INFO "SMP disabled\n");
|
|
@@ -1118,6 +1116,8 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus)
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
+ default_setup_apic_routing();
|
|
|
+
|
|
|
preempt_disable();
|
|
|
if (read_apic_id() != boot_cpu_physical_apicid) {
|
|
|
panic("Boot APIC ID in local APIC unexpected (%d vs %d)",
|