ARCv2: Implement atomic64 based on LLOCKD/SCONDD instructions
[cascardo/linux.git] / arch / arc / Kconfig
index 0d3e59f..073b358 100644 (file)
@@ -13,7 +13,7 @@ config ARC
        select CLKSRC_OF
        select CLONE_BACKWARDS
        select COMMON_CLK
-       select GENERIC_ATOMIC64
+       select GENERIC_ATOMIC64 if !ISA_ARCV2 || !(ARC_HAS_LL64 && ARC_HAS_LLSC)
        select GENERIC_CLOCKEVENTS
        select GENERIC_FIND_FIRST_BIT
        # for now, we don't need GENERIC_IRQ_PROBE, CONFIG_GENERIC_IRQ_CHIP