svn commit: r333160 - stable/11/sys/x86/x86
Konstantin Belousov
kib at FreeBSD.org
Wed May 2 07:40:05 UTC 2018
Author: kib
Date: Wed May 2 07:40:04 2018
New Revision: 333160
URL: https://svnweb.freebsd.org/changeset/base/333160
Log:
MFC r332972:
Extend ap_boot_mtx scope to also cover mca_init().
Modified:
stable/11/sys/x86/x86/mp_x86.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/x86/x86/mp_x86.c
==============================================================================
--- stable/11/sys/x86/x86/mp_x86.c Wed May 2 07:38:38 2018 (r333159)
+++ stable/11/sys/x86/x86/mp_x86.c Wed May 2 07:40:04 2018 (r333160)
@@ -905,9 +905,9 @@ 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);
More information about the svn-src-stable
mailing list