Move the call to intr_pic_init_secondary to the same place as in the
non-intrng case. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1f6aa41ece
commit
04f04889ae
@ -275,7 +275,9 @@ init_secondary(uint64_t cpu)
|
||||
*/
|
||||
identify_cpu();
|
||||
|
||||
#ifndef INTRNG
|
||||
#ifdef INTRNG
|
||||
intr_pic_init_secondary();
|
||||
#else
|
||||
/* Configure the interrupt controller */
|
||||
arm_init_secondary();
|
||||
|
||||
@ -306,10 +308,6 @@ init_secondary(uint64_t cpu)
|
||||
|
||||
mtx_unlock_spin(&ap_boot_mtx);
|
||||
|
||||
#ifdef INTRNG
|
||||
intr_pic_init_secondary();
|
||||
#endif
|
||||
|
||||
/* Enter the scheduler */
|
||||
sched_throw(NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user