Fix compilation with 4.x kernel headers
[uclibc-ng.git] / extra / Configs / Config.arc
blobebbde2e9fbcbf91766c8284f00025a9adc1522e0
2 # For a description of the syntax of this configuration file,
3 # see extra/config/Kconfig-language.txt
5 config TARGET_ARCH
6 default "arc"
8 config FORCE_OPTIONS_FOR_ARCH
9 bool
10 default y
11 select ARCH_ANY_ENDIAN
13 config CONFIG_ARC_HAS_ATOMICS
14 bool "Support for LLOCK/SCOND instructions"
15 default y
16 help
17 LLOCK/SCOND instructions are needed to implement atomic r-m-w
18 Otherwise libc needs kernel assisted atomic cmpxchg available
19 since v4.9 kernel
21 choice
22 prompt "MMU Page Size"
23 default CONFIG_ARC_PAGE_SIZE_8K
25 config CONFIG_ARC_PAGE_SIZE_8K
26 bool "8KB"
27 help
28 Choose between 4k, 8k (default) or 16k
30 config CONFIG_ARC_PAGE_SIZE_16K
31 bool "16KB"
33 config CONFIG_ARC_PAGE_SIZE_4K
34 bool "4KB"
36 endchoice