Linux Audio

Check our new training course

Loading...
v6.13.7
 1# SPDX-License-Identifier: GPL-2.0
 
 
 
 
 2
 3menu "Host processor type and features"
 4
 5source "arch/x86/Kconfig.cpu"
 6
 7endmenu
 8
 9config UML_X86
10	def_bool y
11	select ARCH_BINFMT_ELF_EXTRA_PHDRS if X86_32
12	select DCACHE_WORD_ACCESS
13	select HAVE_EFFICIENT_UNALIGNED_ACCESS
14
15config 64BIT
16	bool "64-bit kernel" if "$(SUBARCH)" = "x86"
17	default "$(SUBARCH)" != "i386"
18
19config X86_32
20	def_bool !64BIT
21	select ARCH_32BIT_OFF_T
22	select ARCH_WANT_IPC_PARSE_VERSION
23	select MODULES_USE_ELF_REL
24	select CLONE_BACKWARDS
25	select OLD_SIGSUSPEND3
26	select OLD_SIGACTION
27
28config X86_64
29	def_bool 64BIT
30	select MODULES_USE_ELF_RELA
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32config ARCH_HAS_SC_SIGNALS
33	def_bool !64BIT
34
35config ARCH_REUSE_HOST_VSYSCALL_AREA
36	def_bool !64BIT
37
38config GENERIC_HWEIGHT
39	def_bool y
v4.10.11
 1mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
 2
 3source "arch/um/Kconfig.common"
 4
 5menu "UML-specific options"
 6
 7menu "Host processor type and features"
 8
 9source "arch/x86/Kconfig.cpu"
10
11endmenu
12
13config UML_X86
14	def_bool y
15	select GENERIC_FIND_FIRST_BIT
 
 
16
17config 64BIT
18	bool "64-bit kernel" if SUBARCH = "x86"
19	default SUBARCH != "i386"
20
21config X86_32
22	def_bool !64BIT
23	select HAVE_AOUT
24	select ARCH_WANT_IPC_PARSE_VERSION
25	select MODULES_USE_ELF_REL
26	select CLONE_BACKWARDS
27	select OLD_SIGSUSPEND3
28	select OLD_SIGACTION
29
30config X86_64
31	def_bool 64BIT
32	select MODULES_USE_ELF_RELA
33
34config ARCH_DEFCONFIG
35	string
36	default "arch/um/configs/i386_defconfig" if X86_32
37	default "arch/um/configs/x86_64_defconfig" if X86_64
38
39config RWSEM_XCHGADD_ALGORITHM
40	def_bool 64BIT
41
42config RWSEM_GENERIC_SPINLOCK
43	def_bool !RWSEM_XCHGADD_ALGORITHM
44
45config 3_LEVEL_PGTABLES
46	bool "Three-level pagetables" if !64BIT
47	default 64BIT
48	help
49	Three-level pagetables will let UML have more than 4G of physical
50	memory.  All the memory that can't be mapped directly will be treated
51	as high memory.
52
53	However, this it experimental on 32-bit architectures, so if unsure say
54	N (on x86-64 it's automatically enabled, instead, as it's safe there).
55
56config ARCH_HAS_SC_SIGNALS
57	def_bool !64BIT
58
59config ARCH_REUSE_HOST_VSYSCALL_AREA
60	def_bool !64BIT
61
62config GENERIC_HWEIGHT
63	def_bool y
64
65source "arch/um/Kconfig.um"
66
67endmenu
68
69source "arch/um/Kconfig.rest"