xref: /linux/arch/x86/um/Kconfig (revision 0d456bad36d42d16022be045c8a53ddbb59ee478)
1mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
2
3source "arch/um/Kconfig.common"
4
5menu "UML-specific options"
6
7menu "Host processor type and features"
8
9source "arch/x86/Kconfig.cpu"
10
11endmenu
12
13config UML_X86
14	def_bool y
15	select GENERIC_FIND_FIRST_BIT
16	select GENERIC_KERNEL_THREAD
17	select GENERIC_KERNEL_EXECVE
18
19config 64BIT
20	bool "64-bit kernel" if SUBARCH = "x86"
21	default SUBARCH != "i386"
22
23config X86_32
24	def_bool !64BIT
25	select HAVE_AOUT
26	select ARCH_WANT_IPC_PARSE_VERSION
27	select MODULES_USE_ELF_REL
28	select CLONE_BACKWARDS
29
30config X86_64
31	def_bool 64BIT
32	select MODULES_USE_ELF_RELA
33
34config RWSEM_XCHGADD_ALGORITHM
35	def_bool 64BIT
36
37config RWSEM_GENERIC_SPINLOCK
38	def_bool !RWSEM_XCHGADD_ALGORITHM
39
40config 3_LEVEL_PGTABLES
41	bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
42	default 64BIT
43	depends on EXPERIMENTAL
44	help
45	Three-level pagetables will let UML have more than 4G of physical
46	memory.  All the memory that can't be mapped directly will be treated
47	as high memory.
48
49	However, this it experimental on 32-bit architectures, so if unsure say
50	N (on x86-64 it's automatically enabled, instead, as it's safe there).
51
52config ARCH_HAS_SC_SIGNALS
53	def_bool !64BIT
54
55config ARCH_REUSE_HOST_VSYSCALL_AREA
56	def_bool !64BIT
57
58config GENERIC_HWEIGHT
59	def_bool y
60
61source "arch/um/Kconfig.um"
62
63endmenu
64
65source "arch/um/Kconfig.rest"
66