ARC: Enable optimistic spinning for LLSC config

This change “ARC: Enable optimistic spinning for LLSC config” in Linux kernel is authored by Vineet Gupta <vgupta [at] synopsys.com> on Sat Aug 8 17:51:58 2015 +0530.

ARC: Enable optimistic spinning for LLSC config

Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 2a44016.

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index bd4670d..e119d42 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -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

The commit for this change in Linux stable tree is 2a44016 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *