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