svn commit: r357295 - stable/12/sys/arm64/arm64
Mark Johnston
markj at FreeBSD.org
Thu Jan 30 15:00:41 UTC 2020
Author: markj
Date: Thu Jan 30 15:00:41 2020
New Revision: 357295
URL: https://svnweb.freebsd.org/changeset/base/357295
Log:
MFC r357048:
arm64: Don't enable interrupts in init_secondary().
Modified:
stable/12/sys/arm64/arm64/mp_machdep.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/arm64/arm64/mp_machdep.c
==============================================================================
--- stable/12/sys/arm64/arm64/mp_machdep.c Thu Jan 30 12:35:13 2020 (r357294)
+++ stable/12/sys/arm64/arm64/mp_machdep.c Thu Jan 30 15:00:41 2020 (r357295)
@@ -306,18 +306,12 @@ init_secondary(uint64_t cpu)
dbg_init();
pan_enable();
- /* Enable interrupts */
- intr_enable();
-
mtx_lock_spin(&ap_boot_mtx);
-
atomic_add_rel_32(&smp_cpus, 1);
-
if (smp_cpus == mp_ncpus) {
/* enable IPI's, tlb shootdown, freezes etc */
atomic_store_rel_int(&smp_started, 1);
}
-
mtx_unlock_spin(&ap_boot_mtx);
/* Enter the scheduler */
More information about the svn-src-stable-12
mailing list