Skip to content

Commit

Permalink
arm/spinlock: up_testset() sould not depends on SMP
Browse files Browse the repository at this point in the history
up_testset() sould not depends on SMP

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Aug 23, 2024
1 parent aedef71 commit 9f8cae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/include/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9f8cae7

Please sign in to comment.