blob: 5ee328099c6359ae721f919ba554ba53e7052551 [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
Al Viro7a78a172007-10-29 04:34:31 +00007source "arch/x86/Kconfig.cpu"
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -08008
9endmenu
10
Paolo 'Blaisorblade' Giarrussoc45166b2005-05-01 08:58:54 -070011config UML_X86
Jeff Dike54d67ee2007-12-01 12:16:28 -080012 def_bool y
13
Paolo 'Blaisorblade' Giarrussoc45166b2005-05-01 08:58:54 -070014config 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 bool
Al Viro41984262008-08-23 17:00:34 -040016 default SUBARCH = "x86_64"
17
18config X86_32
19 def_bool !64BIT
20 select HAVE_AOUT
21
22config RWSEM_XCHGADD_ALGORITHM
23 def_bool X86_XADD
24
25config RWSEM_GENERIC_SPINLOCK
26 def_bool !X86_XADD
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Linus Torvalds1da177e2005-04-16 15:20:36 -070028config 3_LEVEL_PGTABLES
Al Viro41984262008-08-23 17:00:34 -040029 bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
30 default 64BIT
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080031 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 help
33 Three-level pagetables will let UML have more than 4G of physical
34 memory. All the memory that can't be mapped directly will be treated
35 as high memory.
36
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080037 However, this it experimental on 32-bit architectures, so if unsure say
38 N (on x86-64 it's automatically enabled, instead, as it's safe there).
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040config ARCH_HAS_SC_SIGNALS
Al Viro41984262008-08-23 17:00:34 -040041 def_bool !64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
43config ARCH_REUSE_HOST_VSYSCALL_AREA
Al Viro41984262008-08-23 17:00:34 -040044 def_bool !64BIT
45
46config SMP_BROKEN
47 def_bool 64BIT
Akinobu Mitaf214ef32006-03-26 01:38:59 -080048
49config GENERIC_HWEIGHT
Al Viro41984262008-08-23 17:00:34 -040050 def_bool y
Al Viro61bee202008-08-25 04:51:27 -040051
52source "arch/um/Kconfig.um"
53
54endmenu
55
56source "arch/um/Kconfig.rest"