]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/um/Kconfig
Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / um / Kconfig
CommitLineData
7fa38e7e
GU
1mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
2
61bee204
AV
3source "arch/um/Kconfig.common"
4
5menu "UML-specific options"
6
85977376
PBG
7menu "Host processor type and features"
8
084189a8
RW
9config CMPXCHG_LOCAL
10 bool
11 default n
e5f0bdc7
TLSC
12
13config CMPXCHG_DOUBLE
14 bool
15 default n
084189a8 16
7a78a172 17source "arch/x86/Kconfig.cpu"
85977376
PBG
18
19endmenu
20
c45166be 21config UML_X86
4198426a 22 def_bool y
c49aa5bd 23 select GENERIC_FIND_FIRST_BIT
4198426a
AV
24
25config 64BIT
c45166be 26 bool
4198426a 27 default SUBARCH = "x86_64"
c45166be 28
54d67ee2 29config X86_32
4198426a
AV
30 def_bool !64BIT
31 select HAVE_AOUT
54d67ee2 32
bfc39061
JB
33config X86_64
34 def_bool 64BIT
35
54d67ee2 36config RWSEM_XCHGADD_ALGORITHM
3a367907 37 def_bool X86_XADD && 64BIT
54d67ee2 38
4198426a 39config RWSEM_GENERIC_SPINLOCK
3a367907 40 def_bool !RWSEM_XCHGADD_ALGORITHM
1da177e4 41
1da177e4 42config 3_LEVEL_PGTABLES
4198426a
AV
43 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
44 default 64BIT
ce2d2aed 45 depends on EXPERIMENTAL
1da177e4
LT
46 help
47 Three-level pagetables will let UML have more than 4G of physical
48 memory. All the memory that can't be mapped directly will be treated
49 as high memory.
50
ce2d2aed
PBG
51 However, this it experimental on 32-bit architectures, so if unsure say
52 N (on x86-64 it's automatically enabled, instead, as it's safe there).
53
1da177e4 54config ARCH_HAS_SC_SIGNALS
4198426a 55 def_bool !64BIT
1da177e4
LT
56
57config ARCH_REUSE_HOST_VSYSCALL_AREA
4198426a
AV
58 def_bool !64BIT
59
f214ef3e 60config GENERIC_HWEIGHT
4198426a 61 def_bool y
61bee204
AV
62
63source "arch/um/Kconfig.um"
64
65endmenu
66
67source "arch/um/Kconfig.rest"