blob: 9926e11a772dbe9b5417fa204407c2ec9ee58878 [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
Jeff Dike54d67ee2007-12-01 12:16:28 -080016
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070017config 64BIT
Al Viro4c3ff742012-02-11 06:15:50 -050018 bool "64-bit kernel" if SUBARCH = "x86"
19 default SUBARCH != "i386"
Al Viro41984262008-08-23 17:00:34 -040020
21config X86_32
22 def_bool !64BIT
23 select HAVE_AOUT
24
Jan Beulichbfc390612011-03-01 11:14:55 +000025config X86_64
26 def_bool 64BIT
27
Al Viro41984262008-08-23 17:00:34 -040028config RWSEM_XCHGADD_ALGORITHM
Richard Weinberger3a367902011-05-23 22:51:33 +020029 def_bool X86_XADD && 64BIT
Al Viro41984262008-08-23 17:00:34 -040030
31config RWSEM_GENERIC_SPINLOCK
Richard Weinberger3a367902011-05-23 22:51:33 +020032 def_bool !RWSEM_XCHGADD_ALGORITHM
Linus Torvalds1da177e2005-04-16 15:20:36 -070033
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config 3_LEVEL_PGTABLES
Al Viro41984262008-08-23 17:00:34 -040035 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
36 default 64BIT
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080037 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070038 help
39 Three-level pagetables will let UML have more than 4G of physical
40 memory. All the memory that can't be mapped directly will be treated
41 as high memory.
42
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080043 However, this it experimental on 32-bit architectures, so if unsure say
44 N (on x86-64 it's automatically enabled, instead, as it's safe there).
45
Linus Torvalds1da177e2005-04-16 15:20:36 -070046config ARCH_HAS_SC_SIGNALS
Al Viro41984262008-08-23 17:00:34 -040047 def_bool !64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070048
49config ARCH_REUSE_HOST_VSYSCALL_AREA
Al Viro41984262008-08-23 17:00:34 -040050 def_bool !64BIT
51
Akinobu Mitaf214ef32006-03-26 01:38:59 -080052config GENERIC_HWEIGHT
Al Viro41984262008-08-23 17:00:34 -040053 def_bool y
Al Viro61bee202008-08-25 04:51:27 -040054
55source "arch/um/Kconfig.um"
56
57endmenu
58
59source "arch/um/Kconfig.rest"