From 3b5003de18788fe7ad7b2ca9bcc33209ef117b7b Mon Sep 17 00:00:00 2001 From: Arif Balik Date: Tue, 3 Dec 2024 08:20:16 +0300 Subject: [PATCH] soc: espressif: fix missing spinlock definition This definition is deleted in the follwoing commit; 8233b70 as a part of "cleanup", however this definition is used by smp_log Signed-off-by: Arif Balik --- soc/espressif/esp32/esp32-mp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/espressif/esp32/esp32-mp.c b/soc/espressif/esp32/esp32-mp.c index 96d93359ab1..963bcfc0d56 100644 --- a/soc/espressif/esp32/esp32-mp.c +++ b/soc/espressif/esp32/esp32-mp.c @@ -42,6 +42,7 @@ struct cpustart_rec { volatile struct cpustart_rec *start_rec; static void *appcpu_top; static bool cpus_active[CONFIG_MP_MAX_NUM_CPUS]; +static struct k_spinlock loglock; #endif /* Note that the logging done here is ACTUALLY REQUIRED FOR RELIABLE