1 # SPDX-License-Identifier: GPL-2.0
2 mainmenu "User Mode Linux/$(SUBARCH) $(KERNELVERSION) Kernel Configuration"
4 comment "Compiler: $(CC_VERSION_TEXT)"
6 source "arch/um/Kconfig.common"
8 menu "UML-specific options"
10 menu "Host processor type and features"
12 source "arch/x86/Kconfig.cpu"
18 select GENERIC_FIND_FIRST_BIT
21 bool "64-bit kernel" if "$(SUBARCH)" = "x86"
22 default "$(SUBARCH)" != "i386"
27 select ARCH_WANT_IPC_PARSE_VERSION
28 select MODULES_USE_ELF_REL
29 select CLONE_BACKWARDS
30 select OLD_SIGSUSPEND3
35 select MODULES_USE_ELF_RELA
39 default "arch/um/configs/i386_defconfig" if X86_32
40 default "arch/um/configs/x86_64_defconfig" if X86_64
42 config RWSEM_XCHGADD_ALGORITHM
45 config RWSEM_GENERIC_SPINLOCK
46 def_bool !RWSEM_XCHGADD_ALGORITHM
48 config 3_LEVEL_PGTABLES
49 bool "Three-level pagetables" if !64BIT
52 Three-level pagetables will let UML have more than 4G of physical
53 memory. All the memory that can't be mapped directly will be treated
56 However, this it experimental on 32-bit architectures, so if unsure say
57 N (on x86-64 it's automatically enabled, instead, as it's safe there).
59 config ARCH_HAS_SC_SIGNALS
62 config ARCH_REUSE_HOST_VSYSCALL_AREA
65 config GENERIC_HWEIGHT
68 source "arch/um/Kconfig.um"
72 source "arch/um/Kconfig.rest"