xref: /linux/arch/x86/um/Kconfig (revision 4413e16d9d21673bb5048a2e542f1aaa00015c2e)
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
17config 64BIT
18	bool "64-bit kernel" if SUBARCH = "x86"
19	default SUBARCH != "i386"
20
21config X86_32
22	def_bool !64BIT
23	select HAVE_AOUT
24	select ARCH_WANT_IPC_PARSE_VERSION
25
26config X86_64
27	def_bool 64BIT
28
29config RWSEM_XCHGADD_ALGORITHM
30	def_bool X86_XADD && 64BIT
31
32config RWSEM_GENERIC_SPINLOCK
33	def_bool !RWSEM_XCHGADD_ALGORITHM
34
35config 3_LEVEL_PGTABLES
36	bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
37	default 64BIT
38	depends on EXPERIMENTAL
39	help
40	Three-level pagetables will let UML have more than 4G of physical
41	memory.  All the memory that can't be mapped directly will be treated
42	as high memory.
43
44	However, this it experimental on 32-bit architectures, so if unsure say
45	N (on x86-64 it's automatically enabled, instead, as it's safe there).
46
47config ARCH_HAS_SC_SIGNALS
48	def_bool !64BIT
49
50config ARCH_REUSE_HOST_VSYSCALL_AREA
51	def_bool !64BIT
52
53config GENERIC_HWEIGHT
54	def_bool y
55
56source "arch/um/Kconfig.um"
57
58endmenu
59
60source "arch/um/Kconfig.rest"
61