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
This commit is contained in:
Mark Johnston 2020-05-06 15:10:05 +00:00
parent 1a5b3b5102
commit 6d08b87b88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360691

View File

@ -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);