From 64e99dfcf698980d96c7ad1523aee29fd97383ad Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 1 Apr 2021 11:35:31 -0700 Subject: [PATCH] xtensa: change CONFIG_ATOMIC_OPERATIONS_ARCH to imply Xtensa cores are highly configurable so each SoC may not have the needed instructions for the hardware assisted atomic operations. So instead of selecting the arch-specific atomic operations kconfig, do a "imply" instead. So SoC or board configs can disable this. Signed-off-by: Daniel Leung --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index c260d3a8d0e..cafae92c988 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -103,7 +103,7 @@ config XTENSA select HAS_DTS select USE_SWITCH select USE_SWITCH_SUPPORTED - select ATOMIC_OPERATIONS_ARCH + imply ATOMIC_OPERATIONS_ARCH help Xtensa architecture