From 6d08b87b887bb6163073381bb497100ba679b712 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Wed, 6 May 2020 15:10:05 +0000 Subject: [PATCH] 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 --- sys/arm/arm/mp_machdep.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/arm/arm/mp_machdep.c b/sys/arm/arm/mp_machdep.c index ea56a46fd162..5fc2c7258ef8 100644 --- a/sys/arm/arm/mp_machdep.c +++ b/sys/arm/arm/mp_machdep.c @@ -138,7 +138,6 @@ cpu_mp_announce(void) } -extern vm_paddr_t pmap_pa; void init_secondary(int cpu) { @@ -203,8 +202,6 @@ init_secondary(int cpu) mtx_unlock_spin(&ap_boot_mtx); - enable_interrupts(PSR_I); - loop_counter = 0; while (smp_started == 0) { DELAY(100);