diff options
Diffstat (limited to 'arch/x86/um/Kconfig')
-rw-r--r-- | arch/x86/um/Kconfig | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig new file mode 100644 index 000000000000..1d97bd84b6fb --- /dev/null +++ b/arch/x86/um/Kconfig | |||
@@ -0,0 +1,67 @@ | |||
1 | mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration" | ||
2 | |||
3 | source "arch/um/Kconfig.common" | ||
4 | |||
5 | menu "UML-specific options" | ||
6 | |||
7 | menu "Host processor type and features" | ||
8 | |||
9 | config CMPXCHG_LOCAL | ||
10 | bool | ||
11 | default n | ||
12 | |||
13 | config CMPXCHG_DOUBLE | ||
14 | bool | ||
15 | default n | ||
16 | |||
17 | source "arch/x86/Kconfig.cpu" | ||
18 | |||
19 | endmenu | ||
20 | |||
21 | config UML_X86 | ||
22 | def_bool y | ||
23 | select GENERIC_FIND_FIRST_BIT | ||
24 | |||
25 | config 64BIT | ||
26 | bool | ||
27 | default SUBARCH = "x86_64" | ||
28 | |||
29 | config X86_32 | ||
30 | def_bool !64BIT | ||
31 | select HAVE_AOUT | ||
32 | |||
33 | config X86_64 | ||
34 | def_bool 64BIT | ||
35 | |||
36 | config RWSEM_XCHGADD_ALGORITHM | ||
37 | def_bool X86_XADD && 64BIT | ||
38 | |||
39 | config RWSEM_GENERIC_SPINLOCK | ||
40 | def_bool !RWSEM_XCHGADD_ALGORITHM | ||
41 | |||
42 | config 3_LEVEL_PGTABLES | ||
43 | bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT | ||
44 | default 64BIT | ||
45 | depends on EXPERIMENTAL | ||
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 | |||
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 | |||
54 | config ARCH_HAS_SC_SIGNALS | ||
55 | def_bool !64BIT | ||
56 | |||
57 | config ARCH_REUSE_HOST_VSYSCALL_AREA | ||
58 | def_bool !64BIT | ||
59 | |||
60 | config GENERIC_HWEIGHT | ||
61 | def_bool y | ||
62 | |||
63 | source "arch/um/Kconfig.um" | ||
64 | |||
65 | endmenu | ||
66 | |||
67 | source "arch/um/Kconfig.rest" | ||