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:
andrew 2016-05-16 12:02:06 +00:00
parent 1f6aa41ece
commit 04f04889ae

View File

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