svn commit: r360691 - head/sys/arm/arm
Mark Johnston
markj at FreeBSD.org
Wed May 6 15:10:06 UTC 2020
Author: markj
Date: Wed May 6 15:10:05 2020
New Revision: 360691
URL: https://svnweb.freebsd.org/changeset/base/360691
Log:
arm: Don't enable interrupts in init_secondary().
This has the same reasoning as described in r357048.
Remove a stray declaration while here.
Reported and tested by: trasz
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/arm/arm/mp_machdep.c
Modified: head/sys/arm/arm/mp_machdep.c
==============================================================================
--- head/sys/arm/arm/mp_machdep.c Wed May 6 15:01:06 2020 (r360690)
+++ head/sys/arm/arm/mp_machdep.c Wed May 6 15:10:05 2020 (r360691)
@@ -138,7 +138,6 @@ cpu_mp_announce(void)
}
-extern vm_paddr_t pmap_pa;
void
init_secondary(int cpu)
{
@@ -202,8 +201,6 @@ init_secondary(int cpu)
}
mtx_unlock_spin(&ap_boot_mtx);
-
- enable_interrupts(PSR_I);
loop_counter = 0;
while (smp_started == 0) {
More information about the svn-src-all
mailing list