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>
This commit is contained in:
Daniel Leung 2025-05-02 09:43:17 -07:00 committed by Benjamin Cabé
commit 1f21bb9003

View file

@ -22,6 +22,7 @@
#ifdef CONFIG_SMP
#include <ipi.h>
#include <ksched.h>
#ifndef CONFIG_SOC_ESP32_PROCPU
static struct k_spinlock loglock;