Kconfig.x86 1.2 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"

9 10 11 12
config CMPXCHG_LOCAL
	bool
	default n

A
Al Viro 已提交
13
source "arch/x86/Kconfig.cpu"
14 15 16

endmenu

17
config UML_X86
18
	def_bool y
19
	select GENERIC_FIND_FIRST_BIT
20 21

config 64BIT
22
	bool
23
	default SUBARCH = "x86_64"
24

J
Jeff Dike 已提交
25
config X86_32
26 27
	def_bool !64BIT
	select HAVE_AOUT
J
Jeff Dike 已提交
28

29 30 31
config X86_64
	def_bool 64BIT

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

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

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

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

config ARCH_REUSE_HOST_VSYSCALL_AREA
54 55
	def_bool !64BIT

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

source "arch/um/Kconfig.um"

endmenu

source "arch/um/Kconfig.rest"