1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

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 Turner 2016-05-16 12:02:06 +00:00
parent 20ec8b0f9b
commit 2b48ec8e6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299939

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