diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/um/Kconfig.x86 | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'arch/um/Kconfig.x86')
-rw-r--r-- | arch/um/Kconfig.x86 | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/arch/um/Kconfig.x86 b/arch/um/Kconfig.x86 new file mode 100644 index 00000000000..21bebe63df6 --- /dev/null +++ b/arch/um/Kconfig.x86 | |||
@@ -0,0 +1,70 @@ | |||
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 SMP_BROKEN | ||
61 | def_bool 64BIT | ||
62 | |||
63 | config GENERIC_HWEIGHT | ||
64 | def_bool y | ||
65 | |||
66 | source "arch/um/Kconfig.um" | ||
67 | |||
68 | endmenu | ||
69 | |||
70 | source "arch/um/Kconfig.rest" | ||