Add SI_SUB_TASKQ after SI_SUB_INTR and move taskqueue initialization there for EARLY_AP_STARTUP
This fixes a regression accidentally introduced in r322588, due to an interaction with EARLY_AP_STARTUP. Reviewed by: bdrewery@, jhb@ Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12053
This commit is contained in:
parent
0362fb3a9c
commit
fe0593d72a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322596
@ -118,6 +118,7 @@ enum sysinit_sub_id {
|
||||
SI_SUB_SCHED_IDLE = 0x2600000, /* required idle procs */
|
||||
SI_SUB_MBUF = 0x2700000, /* mbuf subsystem */
|
||||
SI_SUB_INTR = 0x2800000, /* interrupt threads */
|
||||
SI_SUB_TASKQ = 0x2880000, /* task queues */
|
||||
#ifdef EARLY_AP_STARTUP
|
||||
SI_SUB_SMP = 0x2900000, /* start the APs*/
|
||||
#endif
|
||||
|
@ -149,7 +149,7 @@ taskqueue_define_##name(void *arg) \
|
||||
init; \
|
||||
} \
|
||||
\
|
||||
SYSINIT(taskqueue_##name, SI_SUB_INIT_IF, SI_ORDER_SECOND, \
|
||||
SYSINIT(taskqueue_##name, SI_SUB_TASKQ, SI_ORDER_SECOND, \
|
||||
taskqueue_define_##name, NULL); \
|
||||
\
|
||||
struct __hack
|
||||
@ -174,7 +174,7 @@ taskqueue_define_##name(void *arg) \
|
||||
init; \
|
||||
} \
|
||||
\
|
||||
SYSINIT(taskqueue_##name, SI_SUB_INIT_IF, SI_ORDER_SECOND, \
|
||||
SYSINIT(taskqueue_##name, SI_SUB_TASKQ, SI_ORDER_SECOND, \
|
||||
taskqueue_define_##name, NULL); \
|
||||
\
|
||||
struct __hack
|
||||
|
Loading…
Reference in New Issue
Block a user