blob: cf0f2731484ec065b26e218ed8f7ad19b712b965 [file] [log] [blame]
Geert Uytterhoeven7fa38e72011-07-25 17:12:48 -07001mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
2
Al Viro61bee202008-08-25 04:51:27 -04003source "arch/um/Kconfig.common"
4
5menu "UML-specific options"
6
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -08007menu "Host processor type and features"
8
Al Viro7a78a172007-10-29 04:34:31 +00009source "arch/x86/Kconfig.cpu"
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -080010
11endmenu
12
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070013config UML_X86
Jeff Dike54d67ee2007-12-01 12:16:28 -080014 def_bool y
Jan Beulichc49aa5b2011-03-08 09:24:26 +000015 select GENERIC_FIND_FIRST_BIT
Al Viro6bf9adf2012-12-14 14:09:47 -050016 select GENERIC_SIGALTSTACK
Jeff Dike54d67ee2007-12-01 12:16:28 -080017
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070018config 64BIT
Al Viro4c3ff742012-02-11 06:15:50 -050019 bool "64-bit kernel" if SUBARCH = "x86"
20 default SUBARCH != "i386"
Al Viro41984262008-08-23 17:00:34 -040021
22config X86_32
23 def_bool !64BIT
24 select HAVE_AOUT
Richard Weinbergerbbb35ef2012-09-27 20:10:57 +020025 select ARCH_WANT_IPC_PARSE_VERSION
David Howells786d35d2012-09-28 14:31:03 +093026 select MODULES_USE_ELF_REL
Al Viro1d4b4b22012-10-22 22:34:11 -040027 select CLONE_BACKWARDS
Al Viro15ce1f72012-12-25 16:09:20 -050028 select OLD_SIGSUSPEND3
Al Viro5b3eb3a2012-12-25 19:14:55 -050029 select OLD_SIGACTION
Al Viro41984262008-08-23 17:00:34 -040030
Jan Beulichbfc390612011-03-01 11:14:55 +000031config X86_64
32 def_bool 64BIT
David Howells786d35d2012-09-28 14:31:03 +093033 select MODULES_USE_ELF_RELA
Jan Beulichbfc390612011-03-01 11:14:55 +000034
Al Viro41984262008-08-23 17:00:34 -040035config RWSEM_XCHGADD_ALGORITHM
H. Peter Anvin7ac468b2012-11-28 11:50:25 -080036 def_bool 64BIT
Al Viro41984262008-08-23 17:00:34 -040037
38config RWSEM_GENERIC_SPINLOCK
Richard Weinberger3a367902011-05-23 22:51:33 +020039 def_bool !RWSEM_XCHGADD_ALGORITHM
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
Linus Torvalds1da177e2005-04-16 15:20:36 -070041config 3_LEVEL_PGTABLES
Al Viro41984262008-08-23 17:00:34 -040042 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
43 default 64BIT
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080044 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070045 help
46 Three-level pagetables will let UML have more than 4G of physical
47 memory. All the memory that can't be mapped directly will be treated
48 as high memory.
49
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080050 However, this it experimental on 32-bit architectures, so if unsure say
51 N (on x86-64 it's automatically enabled, instead, as it's safe there).
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053config ARCH_HAS_SC_SIGNALS
Al Viro41984262008-08-23 17:00:34 -040054 def_bool !64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
56config ARCH_REUSE_HOST_VSYSCALL_AREA
Al Viro41984262008-08-23 17:00:34 -040057 def_bool !64BIT
58
Akinobu Mitaf214ef32006-03-26 01:38:59 -080059config GENERIC_HWEIGHT
Al Viro41984262008-08-23 17:00:34 -040060 def_bool y
Al Viro61bee202008-08-25 04:51:27 -040061
62source "arch/um/Kconfig.um"
63
64endmenu
65
66source "arch/um/Kconfig.rest"