Commit | Line | Data |
---|---|---|
7fa38e7e GU |
1 | mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration" |
2 | ||
61bee204 AV |
3 | source "arch/um/Kconfig.common" |
4 | ||
5 | menu "UML-specific options" | |
6 | ||
85977376 PBG |
7 | menu "Host processor type and features" |
8 | ||
7a78a172 | 9 | source "arch/x86/Kconfig.cpu" |
85977376 PBG |
10 | |
11 | endmenu | |
12 | ||
c45166be | 13 | config UML_X86 |
4198426a | 14 | def_bool y |
c49aa5bd | 15 | select GENERIC_FIND_FIRST_BIT |
1f02ab4a | 16 | select GENERIC_KERNEL_THREAD |
22e2430d | 17 | select GENERIC_KERNEL_EXECVE |
4198426a AV |
18 | |
19 | config 64BIT | |
4c3ff747 AV |
20 | bool "64-bit kernel" if SUBARCH = "x86" |
21 | default SUBARCH != "i386" | |
c45166be | 22 | |
54d67ee2 | 23 | config X86_32 |
4198426a AV |
24 | def_bool !64BIT |
25 | select HAVE_AOUT | |
bbb35efc | 26 | select ARCH_WANT_IPC_PARSE_VERSION |
786d35d4 | 27 | select MODULES_USE_ELF_REL |
1d4b4b29 | 28 | select CLONE_BACKWARDS |
54d67ee2 | 29 | |
bfc39061 JB |
30 | config X86_64 |
31 | def_bool 64BIT | |
786d35d4 | 32 | select MODULES_USE_ELF_RELA |
bfc39061 | 33 | |
54d67ee2 | 34 | config RWSEM_XCHGADD_ALGORITHM |
3a367907 | 35 | def_bool X86_XADD && 64BIT |
54d67ee2 | 36 | |
4198426a | 37 | config RWSEM_GENERIC_SPINLOCK |
3a367907 | 38 | def_bool !RWSEM_XCHGADD_ALGORITHM |
1da177e4 | 39 | |
1da177e4 | 40 | config 3_LEVEL_PGTABLES |
4198426a AV |
41 | bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT |
42 | default 64BIT | |
ce2d2aed | 43 | depends on EXPERIMENTAL |
1da177e4 LT |
44 | help |
45 | Three-level pagetables will let UML have more than 4G of physical | |
46 | memory. All the memory that can't be mapped directly will be treated | |
47 | as high memory. | |
48 | ||
ce2d2aed PBG |
49 | However, this it experimental on 32-bit architectures, so if unsure say |
50 | N (on x86-64 it's automatically enabled, instead, as it's safe there). | |
51 | ||
1da177e4 | 52 | config ARCH_HAS_SC_SIGNALS |
4198426a | 53 | def_bool !64BIT |
1da177e4 LT |
54 | |
55 | config ARCH_REUSE_HOST_VSYSCALL_AREA | |
4198426a AV |
56 | def_bool !64BIT |
57 | ||
f214ef3e | 58 | config GENERIC_HWEIGHT |
4198426a | 59 | def_bool y |
61bee204 AV |
60 | |
61 | source "arch/um/Kconfig.um" | |
62 | ||
63 | endmenu | |
64 | ||
65 | source "arch/um/Kconfig.rest" |