]>
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 | ||
084189a8 RW |
9 | config CMPXCHG_LOCAL |
10 | bool | |
11 | default n | |
e5f0bdc7 TLSC |
12 | |
13 | config CMPXCHG_DOUBLE | |
14 | bool | |
15 | default n | |
084189a8 | 16 | |
7a78a172 | 17 | source "arch/x86/Kconfig.cpu" |
85977376 PBG |
18 | |
19 | endmenu | |
20 | ||
c45166be | 21 | config UML_X86 |
4198426a | 22 | def_bool y |
c49aa5bd | 23 | select GENERIC_FIND_FIRST_BIT |
4198426a AV |
24 | |
25 | config 64BIT | |
c45166be | 26 | bool |
4198426a | 27 | default SUBARCH = "x86_64" |
c45166be | 28 | |
54d67ee2 | 29 | config X86_32 |
4198426a AV |
30 | def_bool !64BIT |
31 | select HAVE_AOUT | |
54d67ee2 | 32 | |
bfc39061 JB |
33 | config X86_64 |
34 | def_bool 64BIT | |
35 | ||
54d67ee2 | 36 | config RWSEM_XCHGADD_ALGORITHM |
3a367907 | 37 | def_bool X86_XADD && 64BIT |
54d67ee2 | 38 | |
4198426a | 39 | config RWSEM_GENERIC_SPINLOCK |
3a367907 | 40 | def_bool !RWSEM_XCHGADD_ALGORITHM |
1da177e4 | 41 | |
1da177e4 | 42 | config 3_LEVEL_PGTABLES |
4198426a AV |
43 | bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT |
44 | default 64BIT | |
ce2d2aed | 45 | depends on EXPERIMENTAL |
1da177e4 LT |
46 | help |
47 | Three-level pagetables will let UML have more than 4G of physical | |
48 | memory. All the memory that can't be mapped directly will be treated | |
49 | as high memory. | |
50 | ||
ce2d2aed PBG |
51 | However, this it experimental on 32-bit architectures, so if unsure say |
52 | N (on x86-64 it's automatically enabled, instead, as it's safe there). | |
53 | ||
1da177e4 | 54 | config ARCH_HAS_SC_SIGNALS |
4198426a | 55 | def_bool !64BIT |
1da177e4 LT |
56 | |
57 | config ARCH_REUSE_HOST_VSYSCALL_AREA | |
4198426a AV |
58 | def_bool !64BIT |
59 | ||
f214ef3e | 60 | config GENERIC_HWEIGHT |
4198426a | 61 | def_bool y |
61bee204 AV |
62 | |
63 | source "arch/um/Kconfig.um" | |
64 | ||
65 | endmenu | |
66 | ||
67 | source "arch/um/Kconfig.rest" |