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