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"

7 8 9 10
config CMPXCHG_LOCAL
	bool
	default n

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

endmenu

15
config UML_X86
16
	def_bool y
17
	select GENERIC_FIND_FIRST_BIT
18 19

config 64BIT
20
	bool
21
	default SUBARCH = "x86_64"
22

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

27 28 29
config X86_64
	def_bool 64BIT

J
Jeff Dike 已提交
30
config RWSEM_XCHGADD_ALGORITHM
31
	def_bool X86_XADD && 64BIT
J
Jeff Dike 已提交
32

33
config RWSEM_GENERIC_SPINLOCK
34
	def_bool !RWSEM_XCHGADD_ALGORITHM
L
Linus Torvalds 已提交
35 36

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

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

config ARCH_REUSE_HOST_VSYSCALL_AREA
52 53 54 55
	def_bool !64BIT

config SMP_BROKEN
	def_bool 64BIT
56 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"