Skip to content

Commit 3b99fb1

Browse files
dcpleungnashif
authored andcommitted
xtensa: do not imply atomic ops kconfig
Xtensa's arch level atomic implementation requries S32C1I support which may not exist as Xtensa cores are highly configurable. Implying CONFIG_ATOMIC_OPERATIONS_ARCH at arch level has a side effect that it is enabled regardless if the other options are enabled. Given how the header file's #ifdef is structured, only C atomic ops can override this, which means enabling CONFIG_ATOMIC_OPERATIONS_BUILTIN has no effect at all. So let the SoC or board decide which atomic ops are being used instead. Signed-off-by: Daniel Leung <[email protected]>
1 parent 8bcec18 commit 3b99fb1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ config XTENSA
126126
select ARCH_HAS_CODE_DATA_RELOCATION
127127
select ARCH_HAS_TIMING_FUNCTIONS
128128
select ARCH_MEM_DOMAIN_DATA if USERSPACE
129-
imply ATOMIC_OPERATIONS_ARCH
130129
help
131130
Xtensa architecture
132131

0 commit comments

Comments
 (0)