Al Viro | 61bee20 | 2008-08-25 04:51:27 -0400 | [diff] [blame] | 1 | source "arch/um/Kconfig.common" |
| 2 | |
| 3 | menu "UML-specific options" |
| 4 | |
Paolo 'Blaisorblade' Giarrusso | 8597737 | 2005-11-13 16:07:06 -0800 | [diff] [blame] | 5 | menu "Host processor type and features" |
| 6 | |
Richard Weinberger | 084189a | 2011-04-14 15:22:18 -0700 | [diff] [blame] | 7 | config CMPXCHG_LOCAL |
| 8 | bool |
| 9 | default n |
| 10 | |
Al Viro | 7a78a17 | 2007-10-29 04:34:31 +0000 | [diff] [blame] | 11 | source "arch/x86/Kconfig.cpu" |
Paolo 'Blaisorblade' Giarrusso | 8597737 | 2005-11-13 16:07:06 -0800 | [diff] [blame] | 12 | |
| 13 | endmenu |
| 14 | |
Paolo 'Blaisorblade' Giarrusso | c45166be3 | 2005-05-01 08:58:54 -0700 | [diff] [blame] | 15 | config UML_X86 |
Jeff Dike | 54d67ee | 2007-12-01 12:16:28 -0800 | [diff] [blame] | 16 | def_bool y |
Jan Beulich | c49aa5b | 2011-03-08 09:24:26 +0000 | [diff] [blame] | 17 | select GENERIC_FIND_FIRST_BIT |
Jeff Dike | 54d67ee | 2007-12-01 12:16:28 -0800 | [diff] [blame] | 18 | |
Paolo 'Blaisorblade' Giarrusso | c45166be3 | 2005-05-01 08:58:54 -0700 | [diff] [blame] | 19 | config 64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | bool |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 21 | default SUBARCH = "x86_64" |
| 22 | |
| 23 | config X86_32 |
| 24 | def_bool !64BIT |
| 25 | select HAVE_AOUT |
| 26 | |
Jan Beulich | bfc39061 | 2011-03-01 11:14:55 +0000 | [diff] [blame] | 27 | config X86_64 |
| 28 | def_bool 64BIT |
| 29 | |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 30 | config RWSEM_XCHGADD_ALGORITHM |
Richard Weinberger | 3a36790 | 2011-05-23 22:51:33 +0200 | [diff] [blame] | 31 | def_bool X86_XADD && 64BIT |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 32 | |
| 33 | config RWSEM_GENERIC_SPINLOCK |
Richard Weinberger | 3a36790 | 2011-05-23 22:51:33 +0200 | [diff] [blame] | 34 | def_bool !RWSEM_XCHGADD_ALGORITHM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | config 3_LEVEL_PGTABLES |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 37 | bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT |
| 38 | default 64BIT |
Paolo 'Blaisorblade' Giarrusso | ce2d2ae | 2006-01-18 17:42:59 -0800 | [diff] [blame] | 39 | depends on EXPERIMENTAL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | help |
| 41 | Three-level pagetables will let UML have more than 4G of physical |
| 42 | memory. All the memory that can't be mapped directly will be treated |
| 43 | as high memory. |
| 44 | |
Paolo 'Blaisorblade' Giarrusso | ce2d2ae | 2006-01-18 17:42:59 -0800 | [diff] [blame] | 45 | However, this it experimental on 32-bit architectures, so if unsure say |
| 46 | N (on x86-64 it's automatically enabled, instead, as it's safe there). |
| 47 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | config ARCH_HAS_SC_SIGNALS |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 49 | def_bool !64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | |
| 51 | config ARCH_REUSE_HOST_VSYSCALL_AREA |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 52 | def_bool !64BIT |
| 53 | |
| 54 | config SMP_BROKEN |
| 55 | def_bool 64BIT |
Akinobu Mita | f214ef3 | 2006-03-26 01:38:59 -0800 | [diff] [blame] | 56 | |
| 57 | config GENERIC_HWEIGHT |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 58 | def_bool y |
Al Viro | 61bee20 | 2008-08-25 04:51:27 -0400 | [diff] [blame] | 59 | |
| 60 | source "arch/um/Kconfig.um" |
| 61 | |
| 62 | endmenu |
| 63 | |
| 64 | source "arch/um/Kconfig.rest" |