1 # SPDX-License-Identifier: GPL-2.0
2 mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
4 source "arch/um/Kconfig.common"
6 menu "UML-specific options"
8 menu "Host processor type and features"
10 source "arch/x86/Kconfig.cpu"
16 select GENERIC_FIND_FIRST_BIT
19 bool "64-bit kernel" if SUBARCH = "x86"
20 default SUBARCH != "i386"
25 select ARCH_WANT_IPC_PARSE_VERSION
26 select MODULES_USE_ELF_REL
27 select CLONE_BACKWARDS
28 select OLD_SIGSUSPEND3
33 select MODULES_USE_ELF_RELA
37 default "arch/um/configs/i386_defconfig" if X86_32
38 default "arch/um/configs/x86_64_defconfig" if X86_64
40 config RWSEM_XCHGADD_ALGORITHM
43 config RWSEM_GENERIC_SPINLOCK
44 def_bool !RWSEM_XCHGADD_ALGORITHM
46 config 3_LEVEL_PGTABLES
47 bool "Three-level pagetables" if !64BIT
50 Three-level pagetables will let UML have more than 4G of physical
51 memory. All the memory that can't be mapped directly will be treated
54 However, this it experimental on 32-bit architectures, so if unsure say
55 N (on x86-64 it's automatically enabled, instead, as it's safe there).
57 config ARCH_HAS_SC_SIGNALS
60 config ARCH_REUSE_HOST_VSYSCALL_AREA
63 config GENERIC_HWEIGHT
66 source "arch/um/Kconfig.um"
70 source "arch/um/Kconfig.rest"