This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6847eb0c25 risc-v and xtensa Kconfig : Remove LIBC_ARCH_ATOMIC
6847eb0c25 is described below

commit 6847eb0c257700c2333736b56838bbcf2ec44c35
Author: Takuya Miyasita <[email protected]>
AuthorDate: Wed Nov 13 14:02:15 2024 +0900

    risc-v and xtensa Kconfig : Remove LIBC_ARCH_ATOMIC
    
    In https://github.com/apache/nuttx/pull/13044,
    LIBC_ARCH_ATOMIC was finally removed.
    
    Howerver, the following chips still have the config.
    - ARCH_CHIP_ESP32S3
    - ARCH_CHIP_ESP32C3_GENERIC
    - ARCH_CHIP_ESP32H2
    
    This commit fixes the issue.
---
 arch/risc-v/Kconfig | 2 --
 arch/xtensa/Kconfig | 1 -
 2 files changed, 3 deletions(-)

diff --git a/arch/risc-v/Kconfig b/arch/risc-v/Kconfig
index a970b83e9c..99d52ae8fa 100644
--- a/arch/risc-v/Kconfig
+++ b/arch/risc-v/Kconfig
@@ -104,7 +104,6 @@ config ARCH_CHIP_ESP32C3_GENERIC
        select ARCH_HAVE_RESET
        select ARCH_HAVE_RNG
        select ARCH_HAVE_TICKLESS
-       select LIBC_ARCH_ATOMIC
        select LIBC_ARCH_MEMCPY
        select LIBC_ARCH_MEMCHR
        select LIBC_ARCH_MEMCMP
@@ -164,7 +163,6 @@ config ARCH_CHIP_ESP32H2
        select ARCH_HAVE_RESET
        select ARCH_HAVE_RNG
        select ARCH_HAVE_TICKLESS
-       select LIBC_ARCH_ATOMIC
        select LIBC_ARCH_MEMCPY
        select LIBC_ARCH_MEMCHR
        select LIBC_ARCH_MEMCMP
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index a2f5b16d6c..e4f6ee28da 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -88,7 +88,6 @@ config ARCH_CHIP_ESP32S3
        select ARCH_HAVE_TESTSET
        select ARCH_VECNOTIRQ
        select LIBC_PREVENT_STRING_KERNEL
-       select LIBC_ARCH_ATOMIC
        select LIBC_ARCH_MEMCPY if BUILD_FLAT
        select LIBC_ARCH_MEMCHR if BUILD_FLAT
        select LIBC_ARCH_MEMCMP if BUILD_FLAT

Reply via email to