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