xref: /linux/arch/x86/um/Kconfig (revision 831c1926ee728c3e747255f7c0f434762e8e863d)
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
40