blob: 21bebe63df6660d08e0bd50ac6b8cb2486b76355 [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
Richard Weinberger084189a2011-04-14 15:22:18 -07009config CMPXCHG_LOCAL
10 bool
11 default n
12
Thadeu Lima de Souza Cascardoe5f0bdc2011-09-14 16:21:08 -070013config CMPXCHG_DOUBLE
14 bool
15 default n
16
Al Viro7a78a172007-10-29 04:34:31 +000017source "arch/x86/Kconfig.cpu"
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -080018
19endmenu
20
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070021config UML_X86
Jeff Dike54d67ee2007-12-01 12:16:28 -080022 def_bool y
Jan Beulichc49aa5b2011-03-08 09:24:26 +000023 select GENERIC_FIND_FIRST_BIT
Jeff Dike54d67ee2007-12-01 12:16:28 -080024
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070025config 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070026 bool
Al Viro41984262008-08-23 17:00:34 -040027 default SUBARCH = "x86_64"
28
29config X86_32
30 def_bool !64BIT
31 select HAVE_AOUT
32
Jan Beulichbfc390612011-03-01 11:14:55 +000033config X86_64
34 def_bool 64BIT
35
Al Viro41984262008-08-23 17:00:34 -040036config RWSEM_XCHGADD_ALGORITHM
Richard Weinberger3a367902011-05-23 22:51:33 +020037 def_bool X86_XADD && 64BIT
Al Viro41984262008-08-23 17:00:34 -040038
39config RWSEM_GENERIC_SPINLOCK
Richard Weinberger3a367902011-05-23 22:51:33 +020040 def_bool !RWSEM_XCHGADD_ALGORITHM
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config 3_LEVEL_PGTABLES
Al Viro41984262008-08-23 17:00:34 -040043 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
44 default 64BIT
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080045 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070046 help
47 Three-level pagetables will let UML have more than 4G of physical
48 memory. All the memory that can't be mapped directly will be treated
49 as high memory.
50
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080051 However, this it experimental on 32-bit architectures, so if unsure say
52 N (on x86-64 it's automatically enabled, instead, as it's safe there).
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054config ARCH_HAS_SC_SIGNALS
Al Viro41984262008-08-23 17:00:34 -040055 def_bool !64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070056
57config ARCH_REUSE_HOST_VSYSCALL_AREA
Al Viro41984262008-08-23 17:00:34 -040058 def_bool !64BIT
59
60config SMP_BROKEN
61 def_bool 64BIT
Akinobu Mitaf214ef32006-03-26 01:38:59 -080062
63config GENERIC_HWEIGHT
Al Viro41984262008-08-23 17:00:34 -040064 def_bool y
Al Viro61bee202008-08-25 04:51:27 -040065
66source "arch/um/Kconfig.um"
67
68endmenu
69
70source "arch/um/Kconfig.rest"