xref: /linux/arch/x86/um/Kconfig (revision e40f04d040c66d8312ecfaf6091b2da78531276c)
15c48b108SAl Viromainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
25c48b108SAl Viro
35c48b108SAl Virosource "arch/um/Kconfig.common"
45c48b108SAl Viro
55c48b108SAl Viromenu "UML-specific options"
65c48b108SAl Viro
75c48b108SAl Viromenu "Host processor type and features"
85c48b108SAl Viro
95c48b108SAl Virosource "arch/x86/Kconfig.cpu"
105c48b108SAl Viro
115c48b108SAl Viroendmenu
125c48b108SAl Viro
135c48b108SAl Viroconfig UML_X86
145c48b108SAl Viro	def_bool y
155c48b108SAl Viro	select GENERIC_FIND_FIRST_BIT
165c48b108SAl Viro
175c48b108SAl Viroconfig 64BIT
184c3ff747SAl Viro	bool "64-bit kernel" if SUBARCH = "x86"
194c3ff747SAl Viro	default SUBARCH != "i386"
205c48b108SAl Viro
215c48b108SAl Viroconfig X86_32
225c48b108SAl Viro	def_bool !64BIT
235c48b108SAl Viro	select HAVE_AOUT
24bbb35efcSRichard Weinberger	select ARCH_WANT_IPC_PARSE_VERSION
25786d35d4SDavid Howells	select MODULES_USE_ELF_REL
261d4b4b29SAl Viro	select CLONE_BACKWARDS
2715ce1f71SAl Viro	select OLD_SIGSUSPEND3
285b3eb3adSAl Viro	select OLD_SIGACTION
295c48b108SAl Viro
305c48b108SAl Viroconfig X86_64
315c48b108SAl Viro	def_bool 64BIT
32786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
335c48b108SAl Viro
34*e40f04d0SRamkumar Ramachandraconfig ARCH_DEFCONFIG
35*e40f04d0SRamkumar Ramachandra	string
36*e40f04d0SRamkumar Ramachandra	default "arch/um/configs/i386_defconfig" if X86_32
37*e40f04d0SRamkumar Ramachandra	default "arch/um/configs/x86_64_defconfig" if X86_64
38*e40f04d0SRamkumar Ramachandra
395c48b108SAl Viroconfig RWSEM_XCHGADD_ALGORITHM
407ac468b1SH. Peter Anvin	def_bool 64BIT
415c48b108SAl Viro
425c48b108SAl Viroconfig RWSEM_GENERIC_SPINLOCK
435c48b108SAl Viro	def_bool !RWSEM_XCHGADD_ALGORITHM
445c48b108SAl Viro
455c48b108SAl Viroconfig 3_LEVEL_PGTABLES
4601b35ab7SKees Cook	bool "Three-level pagetables" if !64BIT
475c48b108SAl Viro	default 64BIT
485c48b108SAl Viro	help
495c48b108SAl Viro	Three-level pagetables will let UML have more than 4G of physical
505c48b108SAl Viro	memory.  All the memory that can't be mapped directly will be treated
515c48b108SAl Viro	as high memory.
525c48b108SAl Viro
535c48b108SAl Viro	However, this it experimental on 32-bit architectures, so if unsure say
545c48b108SAl Viro	N (on x86-64 it's automatically enabled, instead, as it's safe there).
555c48b108SAl Viro
565c48b108SAl Viroconfig ARCH_HAS_SC_SIGNALS
575c48b108SAl Viro	def_bool !64BIT
585c48b108SAl Viro
595c48b108SAl Viroconfig ARCH_REUSE_HOST_VSYSCALL_AREA
605c48b108SAl Viro	def_bool !64BIT
615c48b108SAl Viro
625c48b108SAl Viroconfig GENERIC_HWEIGHT
635c48b108SAl Viro	def_bool y
645c48b108SAl Viro
655c48b108SAl Virosource "arch/um/Kconfig.um"
665c48b108SAl Viro
675c48b108SAl Viroendmenu
685c48b108SAl Viro
695c48b108SAl Virosource "arch/um/Kconfig.rest"
70