Kconfig 1.2 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2

3 4
menu "Host processor type and features"

A
Al Viro 已提交
5
source "arch/x86/Kconfig.cpu"
6 7 8

endmenu

9
config UML_X86
10
	def_bool y
11
	select GENERIC_FIND_FIRST_BIT
12 13

config 64BIT
14 15
	bool "64-bit kernel" if "$(SUBARCH)" = "x86"
	default "$(SUBARCH)" != "i386"
16

J
Jeff Dike 已提交
17
config X86_32
18
	def_bool !64BIT
19
	select ARCH_32BIT_OFF_T
R
Richard Weinberger 已提交
20
	select ARCH_WANT_IPC_PARSE_VERSION
21
	select MODULES_USE_ELF_REL
22
	select CLONE_BACKWARDS
23
	select OLD_SIGSUSPEND3
A
Al Viro 已提交
24
	select OLD_SIGACTION
J
Jeff Dike 已提交
25

26 27
config X86_64
	def_bool 64BIT
28
	select MODULES_USE_ELF_RELA
29

30 31 32 33 34
config ARCH_DEFCONFIG
	string
	default "arch/um/configs/i386_defconfig" if X86_32
	default "arch/um/configs/x86_64_defconfig" if X86_64

L
Linus Torvalds 已提交
35
config 3_LEVEL_PGTABLES
36
	bool "Three-level pagetables" if !64BIT
37
	default 64BIT
L
Linus Torvalds 已提交
38 39 40 41 42
	help
	Three-level pagetables will let UML have more than 4G of physical
	memory.  All the memory that can't be mapped directly will be treated
	as high memory.

43 44 45
	However, this it experimental on 32-bit architectures, so if unsure say
	N (on x86-64 it's automatically enabled, instead, as it's safe there).

L
Linus Torvalds 已提交
46
config ARCH_HAS_SC_SIGNALS
47
	def_bool !64BIT
L
Linus Torvalds 已提交
48 49

config ARCH_REUSE_HOST_VSYSCALL_AREA
50 51
	def_bool !64BIT

52
config GENERIC_HWEIGHT
53
	def_bool y