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