]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/um/Kconfig
x86, um: convert to saner kernel_execve() semantics
[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
7a78a172 9source "arch/x86/Kconfig.cpu"
85977376
PBG
10
11endmenu
12
c45166be 13config UML_X86
4198426a 14 def_bool y
c49aa5bd 15 select GENERIC_FIND_FIRST_BIT
1f02ab4a 16 select GENERIC_KERNEL_THREAD
22e2430d 17 select GENERIC_KERNEL_EXECVE
4198426a
AV
18
19config 64BIT
4c3ff747
AV
20 bool "64-bit kernel" if SUBARCH = "x86"
21 default SUBARCH != "i386"
c45166be 22
54d67ee2 23config X86_32
4198426a
AV
24 def_bool !64BIT
25 select HAVE_AOUT
54d67ee2 26
bfc39061
JB
27config X86_64
28 def_bool 64BIT
29
54d67ee2 30config RWSEM_XCHGADD_ALGORITHM
3a367907 31 def_bool X86_XADD && 64BIT
54d67ee2 32
4198426a 33config RWSEM_GENERIC_SPINLOCK
3a367907 34 def_bool !RWSEM_XCHGADD_ALGORITHM
1da177e4 35
1da177e4 36config 3_LEVEL_PGTABLES
4198426a
AV
37 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
38 default 64BIT
ce2d2aed 39 depends on EXPERIMENTAL
1da177e4
LT
40 help
41 Three-level pagetables will let UML have more than 4G of physical
42 memory. All the memory that can't be mapped directly will be treated
43 as high memory.
44
ce2d2aed
PBG
45 However, this it experimental on 32-bit architectures, so if unsure say
46 N (on x86-64 it's automatically enabled, instead, as it's safe there).
47
1da177e4 48config ARCH_HAS_SC_SIGNALS
4198426a 49 def_bool !64BIT
1da177e4
LT
50
51config ARCH_REUSE_HOST_VSYSCALL_AREA
4198426a
AV
52 def_bool !64BIT
53
f214ef3e 54config GENERIC_HWEIGHT
4198426a 55 def_bool y
61bee204
AV
56
57source "arch/um/Kconfig.um"
58
59endmenu
60
61source "arch/um/Kconfig.rest"