]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/um/Kconfig
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / um / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
7fa38e7e
GU
2mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
3
61bee204
AV
4source "arch/um/Kconfig.common"
5
6menu "UML-specific options"
7
85977376
PBG
8menu "Host processor type and features"
9
7a78a172 10source "arch/x86/Kconfig.cpu"
85977376
PBG
11
12endmenu
13
c45166be 14config UML_X86
4198426a 15 def_bool y
c49aa5bd 16 select GENERIC_FIND_FIRST_BIT
4198426a
AV
17
18config 64BIT
4c3ff747
AV
19 bool "64-bit kernel" if SUBARCH = "x86"
20 default SUBARCH != "i386"
c45166be 21
54d67ee2 22config X86_32
4198426a
AV
23 def_bool !64BIT
24 select HAVE_AOUT
bbb35efc 25 select ARCH_WANT_IPC_PARSE_VERSION
786d35d4 26 select MODULES_USE_ELF_REL
1d4b4b29 27 select CLONE_BACKWARDS
15ce1f71 28 select OLD_SIGSUSPEND3
5b3eb3ad 29 select OLD_SIGACTION
54d67ee2 30
bfc39061
JB
31config X86_64
32 def_bool 64BIT
786d35d4 33 select MODULES_USE_ELF_RELA
bfc39061 34
e40f04d0
RR
35config ARCH_DEFCONFIG
36 string
37 default "arch/um/configs/i386_defconfig" if X86_32
38 default "arch/um/configs/x86_64_defconfig" if X86_64
39
54d67ee2 40config RWSEM_XCHGADD_ALGORITHM
7ac468b1 41 def_bool 64BIT
54d67ee2 42
4198426a 43config RWSEM_GENERIC_SPINLOCK
3a367907 44 def_bool !RWSEM_XCHGADD_ALGORITHM
1da177e4 45
1da177e4 46config 3_LEVEL_PGTABLES
01b35ab7 47 bool "Three-level pagetables" if !64BIT
4198426a 48 default 64BIT
1da177e4
LT
49 help
50 Three-level pagetables will let UML have more than 4G of physical
51 memory. All the memory that can't be mapped directly will be treated
52 as high memory.
53
ce2d2aed
PBG
54 However, this it experimental on 32-bit architectures, so if unsure say
55 N (on x86-64 it's automatically enabled, instead, as it's safe there).
56
1da177e4 57config ARCH_HAS_SC_SIGNALS
4198426a 58 def_bool !64BIT
1da177e4
LT
59
60config ARCH_REUSE_HOST_VSYSCALL_AREA
4198426a
AV
61 def_bool !64BIT
62
f214ef3e 63config GENERIC_HWEIGHT
4198426a 64 def_bool y
61bee204
AV
65
66source "arch/um/Kconfig.um"
67
68endmenu
69
70source "arch/um/Kconfig.rest"