arm/spinlock: up_testset() sould not depends on SMP

up_testset() sould not depends on SMP

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-08-23 17:15:43 +08:00 committed by Xiang Xiao
parent 12a44bd974
commit a0afd38f24

View File

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