Kconfig.x86 1.1 KB
Newer Older
A
Al Viro 已提交
1 2 3 4
source "arch/um/Kconfig.common"

menu "UML-specific options"

5 6
menu "Host processor type and features"

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

endmenu

11
config UML_X86
12
	def_bool y
13 14
	select GENERIC_FIND_FIRST_BIT
	select GENERIC_FIND_NEXT_BIT
15 16

config 64BIT
17
	bool
18
	default SUBARCH = "x86_64"
19

J
Jeff Dike 已提交
20
config X86_32
21 22
	def_bool !64BIT
	select HAVE_AOUT
J
Jeff Dike 已提交
23

24 25 26
config X86_64
	def_bool 64BIT

J
Jeff Dike 已提交
27
config RWSEM_XCHGADD_ALGORITHM
28
	def_bool X86_XADD
J
Jeff Dike 已提交
29

30 31
config RWSEM_GENERIC_SPINLOCK
	def_bool !X86_XADD
L
Linus Torvalds 已提交
32 33

config 3_LEVEL_PGTABLES
34 35
	bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
	default 64BIT
36
	depends on EXPERIMENTAL
L
Linus Torvalds 已提交
37 38 39 40 41
	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.

42 43 44
	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 已提交
45
config ARCH_HAS_SC_SIGNALS
46
	def_bool !64BIT
L
Linus Torvalds 已提交
47 48

config ARCH_REUSE_HOST_VSYSCALL_AREA
49 50 51 52
	def_bool !64BIT

config SMP_BROKEN
	def_bool 64BIT
53 54

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

source "arch/um/Kconfig.um"

endmenu

source "arch/um/Kconfig.rest"