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