Kconfig 1.3 KB
Newer Older
1 2
mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"

A
Al Viro 已提交
3 4 5 6
source "arch/um/Kconfig.common"

menu "UML-specific options"

7 8
menu "Host processor type and features"

A
Al Viro 已提交
9
source "arch/x86/Kconfig.cpu"
10 11 12

endmenu

13
config UML_X86
14
	def_bool y
15
	select GENERIC_FIND_FIRST_BIT
A
Al Viro 已提交
16
	select GENERIC_KERNEL_THREAD
17
	select GENERIC_KERNEL_EXECVE
18 19

config 64BIT
A
Al Viro 已提交
20 21
	bool "64-bit kernel" if SUBARCH = "x86"
	default SUBARCH != "i386"
22

J
Jeff Dike 已提交
23
config X86_32
24 25
	def_bool !64BIT
	select HAVE_AOUT
R
Richard Weinberger 已提交
26
	select ARCH_WANT_IPC_PARSE_VERSION
27
	select MODULES_USE_ELF_REL
J
Jeff Dike 已提交
28

29 30
config X86_64
	def_bool 64BIT
31
	select MODULES_USE_ELF_RELA
32

J
Jeff Dike 已提交
33
config RWSEM_XCHGADD_ALGORITHM
34
	def_bool X86_XADD && 64BIT
J
Jeff Dike 已提交
35

36
config RWSEM_GENERIC_SPINLOCK
37
	def_bool !RWSEM_XCHGADD_ALGORITHM
L
Linus Torvalds 已提交
38 39

config 3_LEVEL_PGTABLES
40 41
	bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
	default 64BIT
42
	depends on EXPERIMENTAL
L
Linus Torvalds 已提交
43 44 45 46 47
	help
	Three-level pagetables will let UML have more than 4G of physical
	memory.  All the memory that can't be mapped directly will be treated
	as high memory.

48 49 50
	However, this it experimental on 32-bit architectures, so if unsure say
	N (on x86-64 it's automatically enabled, instead, as it's safe there).

L
Linus Torvalds 已提交
51
config ARCH_HAS_SC_SIGNALS
52
	def_bool !64BIT
L
Linus Torvalds 已提交
53 54

config ARCH_REUSE_HOST_VSYSCALL_AREA
55 56
	def_bool !64BIT

57
config GENERIC_HWEIGHT
58
	def_bool y
A
Al Viro 已提交
59 60 61 62 63 64

source "arch/um/Kconfig.um"

endmenu

source "arch/um/Kconfig.rest"