ARC: Enable optimistic spinning for LLSC config
authorVineet Gupta <vgupta@synopsys.com>
Sat, 8 Aug 2015 12:21:58 +0000 (17:51 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 11 Aug 2015 09:21:09 +0000 (14:51 +0530)
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig

index bd4670d..e119d42 100644 (file)
@@ -8,6 +8,7 @@
 
 config ARC
        def_bool y
+       select ARCH_SUPPORTS_ATOMIC_RMW if ARC_HAS_LLSC
        select BUILDTIME_EXTABLE_SORT
        select COMMON_CLK
        select CLONE_BACKWARDS