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:
parent
1a5b3b5102
commit
6d08b87b88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360691
@ -138,7 +138,6 @@ cpu_mp_announce(void)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern vm_paddr_t pmap_pa;
|
|
||||||
void
|
void
|
||||||
init_secondary(int cpu)
|
init_secondary(int cpu)
|
||||||
{
|
{
|
||||||
@ -203,8 +202,6 @@ init_secondary(int cpu)
|
|||||||
|
|
||||||
mtx_unlock_spin(&ap_boot_mtx);
|
mtx_unlock_spin(&ap_boot_mtx);
|
||||||
|
|
||||||
enable_interrupts(PSR_I);
|
|
||||||
|
|
||||||
loop_counter = 0;
|
loop_counter = 0;
|
||||||
while (smp_started == 0) {
|
while (smp_started == 0) {
|
||||||
DELAY(100);
|
DELAY(100);
|
||||||
|
Loading…
Reference in New Issue
Block a user