summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.arc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/Configs/Config.arc')
-rw-r--r--extra/Configs/Config.arc8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/Configs/Config.arc b/extra/Configs/Config.arc
index 0c0bc71ce..c263dbf46 100644
--- a/extra/Configs/Config.arc
+++ b/extra/Configs/Config.arc
@@ -28,6 +28,14 @@ config CONFIG_ARC_CPU_HS
endchoice
+config CONFIG_ARC_HAS_ATOMICS
+ bool "Support for LLOCK/SCOND instructions"
+ default y
+ help
+ LLOCK/SCOND instructions are needed to implement atomic r-m-w
+ Otherwise libc needs kernel assisted atomic cmpxchg available
+ since v4.9 kernel
+
choice
prompt "MMU Page Size"
default CONFIG_ARC_PAGE_SIZE_8K