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