diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c index 3fcf7aa25152..929d54baf935 100644 --- a/sys/x86/x86/mp_x86.c +++ b/sys/x86/x86/mp_x86.c @@ -1007,10 +1007,10 @@ init_secondary_tail(void) KASSERT(PCPU_GET(idlethread) != NULL, ("no idle thread")); PCPU_SET(curthread, PCPU_GET(idlethread)); - mca_init(); - mtx_lock_spin(&ap_boot_mtx); + mca_init(); + /* Init local apic for irq's */ lapic_setup(1);