Skip to content

Commit 1f21bb9

Browse files
dcpleungkartben
authored andcommitted
soc: esp32: include ksched.h in esp32-mp.c
esp32-mp.c calls z_sched_ipi() so it needs to include ksched.h, as it is no longer included via kernel.h after removal of kernel/internal/smp.h. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
1 parent 108615c commit 1f21bb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soc/espressif/esp32/esp32-mp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#ifdef CONFIG_SMP
2323

2424
#include <ipi.h>
25+
#include <ksched.h>
2526

2627
#ifndef CONFIG_SOC_ESP32_PROCPU
2728
static struct k_spinlock loglock;

0 commit comments

Comments
 (0)