um: Use RWSEM_GENERIC_SPINLOCK on x86
[pandora-kernel.git] / arch / um / Kconfig.x86
1 source "arch/um/Kconfig.common"
2
3 menu "UML-specific options"
4
5 menu "Host processor type and features"
6
7 config CMPXCHG_LOCAL
8         bool
9         default n
10
11 source "arch/x86/Kconfig.cpu"
12
13 endmenu
14
15 config UML_X86
16         def_bool y
17         select GENERIC_FIND_FIRST_BIT
18         select GENERIC_FIND_NEXT_BIT
19
20 config 64BIT
21         bool
22         default SUBARCH = "x86_64"
23
24 config X86_32
25         def_bool !64BIT
26         select HAVE_AOUT
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 SMP_BROKEN
56         def_bool 64BIT
57
58 config GENERIC_HWEIGHT
59         def_bool y
60
61 source "arch/um/Kconfig.um"
62
63 endmenu
64
65 source "arch/um/Kconfig.rest"