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
16 17

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

J
Jeff Dike 已提交
21
config X86_32
22 23
	def_bool !64BIT
	select HAVE_AOUT
R
Richard Weinberger 已提交
24
	select ARCH_WANT_IPC_PARSE_VERSION
25
	select MODULES_USE_ELF_REL
26
	select CLONE_BACKWARDS
27
	select OLD_SIGSUSPEND3
A
Al Viro 已提交
28
	select OLD_SIGACTION
J
Jeff Dike 已提交
29

30 31
config X86_64
	def_bool 64BIT
32
	select MODULES_USE_ELF_RELA
33

J
Jeff Dike 已提交
34
config RWSEM_XCHGADD_ALGORITHM
35
	def_bool 64BIT
J
Jeff Dike 已提交
36

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

config 3_LEVEL_PGTABLES
41 42
	bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
	default 64BIT
43
	depends on EXPERIMENTAL
L
Linus Torvalds 已提交
44 45 46 47 48
	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.

49 50 51
	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 已提交
52
config ARCH_HAS_SC_SIGNALS
53
	def_bool !64BIT
L
Linus Torvalds 已提交
54 55

config ARCH_REUSE_HOST_VSYSCALL_AREA
56 57
	def_bool !64BIT

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

source "arch/um/Kconfig.um"

endmenu

source "arch/um/Kconfig.rest"