diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index f1676f202dd904..09bacd86f28054 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -425,7 +425,7 @@ config ARC_CANT_LLSC config ARC_HAS_LLSC bool "Insn: LLOCK/SCOND (efficient atomic ops)" - default y + default n depends on !ARC_CANT_LLSC config ARC_HAS_ATLD diff --git a/arch/arc/configs/haps_arc64_defconfig b/arch/arc/configs/haps_arc64_defconfig index 83b44066370e9f..39265c4721b775 100644 --- a/arch/arc/configs/haps_arc64_defconfig +++ b/arch/arc/configs/haps_arc64_defconfig @@ -16,6 +16,8 @@ CONFIG_EXPERT=y CONFIG_PERF_EVENTS=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y +CONFIG_ARC_HAS_LLSC=y +# CONFIG_ARC_HAS_ATLD is not set CONFIG_ISA_ARCV3=y CONFIG_PGTABLE_LEVELS=4 # CONFIG_ARC_HAS_ACCL_REGS is not set diff --git a/arch/arc/configs/haps_arc64_smp_defconfig b/arch/arc/configs/haps_arc64_smp_defconfig index 2d5c67dd234eaf..02f0c49e4b02a6 100644 --- a/arch/arc/configs/haps_arc64_smp_defconfig +++ b/arch/arc/configs/haps_arc64_smp_defconfig @@ -17,6 +17,8 @@ CONFIG_PERF_EVENTS=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y CONFIG_SMP=y +CONFIG_ARC_HAS_LLSC=y +# CONFIG_ARC_HAS_ATLD is not set CONFIG_ISA_ARCV3=y CONFIG_PGTABLE_LEVELS=4 # CONFIG_ARC_HAS_ACCL_REGS is not set