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