xref: /openbmc/linux/arch/x86/um/Kconfig (revision fb37409a)
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 GENERIC_FIND_FIRST_BIT
12
13config 64BIT
14	bool "64-bit kernel" if "$(SUBARCH)" = "x86"
15	default "$(SUBARCH)" != "i386"
16
17config X86_32
18	def_bool !64BIT
19	select ARCH_32BIT_OFF_T
20	select ARCH_WANT_IPC_PARSE_VERSION
21	select MODULES_USE_ELF_REL
22	select CLONE_BACKWARDS
23	select OLD_SIGSUSPEND3
24	select OLD_SIGACTION
25
26config X86_64
27	def_bool 64BIT
28	select MODULES_USE_ELF_RELA
29
30config 3_LEVEL_PGTABLES
31	bool "Three-level pagetables" if !64BIT
32	default 64BIT
33	help
34	Three-level pagetables will let UML have more than 4G of physical
35	memory.  All the memory that can't be mapped directly will be treated
36	as high memory.
37
38	However, this it experimental on 32-bit architectures, so if unsure say
39	N (on x86-64 it's automatically enabled, instead, as it's safe there).
40
41config ARCH_HAS_SC_SIGNALS
42	def_bool !64BIT
43
44config ARCH_REUSE_HOST_VSYSCALL_AREA
45	def_bool !64BIT
46
47config GENERIC_HWEIGHT
48	def_bool y
49