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:
Guennadi Liakhovetski 2021-04-07 14:43:07 +02:00 committed by Anas Nashif
parent 29abc8adc0
commit a4b88193cc

View File

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