blob: a9da516a527416e12cfdc887939e2eb8cbd5020f [file] [log] [blame]
Al Viro61bee202008-08-25 04:51:27 -04001source "arch/um/Kconfig.common"
2
3menu "UML-specific options"
4
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -08005menu "Host processor type and features"
6
Richard Weinberger084189a82011-04-14 15:22:18 -07007config CMPXCHG_LOCAL
8 bool
9 default n
10
Al Viro7a78a172007-10-29 04:34:31 +000011source "arch/x86/Kconfig.cpu"
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -080012
13endmenu
14
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070015config UML_X86
Jeff Dike54d67ee2007-12-01 12:16:28 -080016 def_bool y
Jan Beulichc49aa5b2011-03-08 09:24:26 +000017 select GENERIC_FIND_FIRST_BIT
18 select GENERIC_FIND_NEXT_BIT
Jeff Dike54d67ee2007-12-01 12:16:28 -080019
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070020config 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070021 bool
Al Viro41984262008-08-23 17:00:34 -040022 default SUBARCH = "x86_64"
23
24config X86_32
25 def_bool !64BIT
26 select HAVE_AOUT
27
Jan Beulichbfc390612011-03-01 11:14:55 +000028config X86_64
29 def_bool 64BIT
30
Al Viro41984262008-08-23 17:00:34 -040031config RWSEM_XCHGADD_ALGORITHM
32 def_bool X86_XADD
33
34config RWSEM_GENERIC_SPINLOCK
35 def_bool !X86_XADD
Linus Torvalds1da177e2005-04-16 15:20:36 -070036
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config 3_LEVEL_PGTABLES
Al Viro41984262008-08-23 17:00:34 -040038 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
39 default 64BIT
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080040 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070041 help
42 Three-level pagetables will let UML have more than 4G of physical
43 memory. All the memory that can't be mapped directly will be treated
44 as high memory.
45
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080046 However, this it experimental on 32-bit architectures, so if unsure say
47 N (on x86-64 it's automatically enabled, instead, as it's safe there).
48
Linus Torvalds1da177e2005-04-16 15:20:36 -070049config ARCH_HAS_SC_SIGNALS
Al Viro41984262008-08-23 17:00:34 -040050 def_bool !64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
52config ARCH_REUSE_HOST_VSYSCALL_AREA
Al Viro41984262008-08-23 17:00:34 -040053 def_bool !64BIT
54
55config SMP_BROKEN
56 def_bool 64BIT
Akinobu Mitaf214ef32006-03-26 01:38:59 -080057
58config GENERIC_HWEIGHT
Al Viro41984262008-08-23 17:00:34 -040059 def_bool y
Al Viro61bee202008-08-25 04:51:27 -040060
61source "arch/um/Kconfig.um"
62
63endmenu
64
65source "arch/um/Kconfig.rest"