9fa950df80e54ff6d6aa661e3c7e9c6bbe049d2b
[firefly-linux-kernel-4.4.55.git] / arch / x86 / um / Kconfig
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 source "arch/x86/Kconfig.cpu"
10
11 endmenu
12
13 config UML_X86
14         def_bool y
15         select GENERIC_FIND_FIRST_BIT
16         select GENERIC_KERNEL_THREAD
17         select GENERIC_KERNEL_EXECVE
18
19 config 64BIT
20         bool "64-bit kernel" if SUBARCH = "x86"
21         default SUBARCH != "i386"
22
23 config X86_32
24         def_bool !64BIT
25         select HAVE_AOUT
26         select ARCH_WANT_IPC_PARSE_VERSION
27
28 config X86_64
29         def_bool 64BIT
30
31 config RWSEM_XCHGADD_ALGORITHM
32         def_bool X86_XADD && 64BIT
33
34 config RWSEM_GENERIC_SPINLOCK
35         def_bool !RWSEM_XCHGADD_ALGORITHM
36
37 config 3_LEVEL_PGTABLES
38         bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
39         default 64BIT
40         depends on EXPERIMENTAL
41         help
42         Three-level pagetables will let UML have more than 4G of physical
43         memory.  All the memory that can't be mapped directly will be treated
44         as high memory.
45
46         However, this it experimental on 32-bit architectures, so if unsure say
47         N (on x86-64 it's automatically enabled, instead, as it's safe there).
48
49 config ARCH_HAS_SC_SIGNALS
50         def_bool !64BIT
51
52 config ARCH_REUSE_HOST_VSYSCALL_AREA
53         def_bool !64BIT
54
55 config GENERIC_HWEIGHT
56         def_bool y
57
58 source "arch/um/Kconfig.um"
59
60 endmenu
61
62 source "arch/um/Kconfig.rest"