From a0afd38f248c392659f0d1b8f8d0f8d87db51bf3 Mon Sep 17 00:00:00 2001 From: chao an Date: Fri, 23 Aug 2024 17:15:43 +0800 Subject: [PATCH] arm/spinlock: up_testset() sould not depends on SMP up_testset() sould not depends on SMP Signed-off-by: chao an --- arch/arm/include/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/spinlock.h b/arch/arm/include/spinlock.h index b8e7e1e03c..a13865263b 100644 --- a/arch/arm/include/spinlock.h +++ b/arch/arm/include/spinlock.h @@ -114,7 +114,7 @@ typedef uint8_t spinlock_t; * ****************************************************************************/ -#if defined(CONFIG_ARCH_HAVE_TESTSET) && defined(CONFIG_SMP) \ +#if defined(CONFIG_ARCH_HAVE_TESTSET) \ && !defined(CONFIG_ARCH_CHIP_LC823450) \ && !defined(CONFIG_ARCH_CHIP_CXD56XX) \ && !defined(CONFIG_ARCH_CHIP_RP2040)