p4wq: fix initialisation with SMP disabled
When SMP is disabled, the SMP initialisation level is undefined, therefore a different level must be used. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
29abc8adc0
commit
a4b88193cc
@ -145,7 +145,7 @@ static int static_init(const struct device *dev)
|
||||
* so they can initialize in parallel instead of serially on the main
|
||||
* CPU.
|
||||
*/
|
||||
SYS_INIT(static_init, SMP, 99);
|
||||
SYS_INIT(static_init, APPLICATION, 99);
|
||||
|
||||
void k_p4wq_submit(struct k_p4wq *queue, struct k_p4wq_work *item)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user