[PARISC] More useful readwrite lock helpers
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / parisc / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux/PA-RISC Kernel Configuration"
7
8config PARISC
9 def_bool y
10 help
11 The PA-RISC microprocessor is designed by Hewlett-Packard and used
12 in many of their workstations & servers (HP9000 700 and 800 series,
13 and later HP3000 series). The PA-RISC Linux project home page is
14 at <http://www.parisc-linux.org/>.
15
16config MMU
17 def_bool y
18
19config STACK_GROWSUP
20 def_bool y
21
1da177e4
LT
22config RWSEM_GENERIC_SPINLOCK
23 def_bool y
24
25config RWSEM_XCHGADD_ALGORITHM
26 bool
27
59e18a2e
AM
28config GENERIC_FIND_NEXT_BIT
29 bool
30 default y
31
32config GENERIC_HWEIGHT
33 bool
34 default y
35
1da177e4
LT
36config GENERIC_CALIBRATE_DELAY
37 bool
38 default y
39
06027bdd
IM
40config TIME_LOW_RES
41 bool
42 depends on SMP
43 default y
44
1da177e4
LT
45config GENERIC_ISA_DMA
46 bool
47
48config GENERIC_HARDIRQS
49 def_bool y
50
51config GENERIC_IRQ_PROBE
52 def_bool y
53
54# unless you want to implement ACPI on PA-RISC ... ;-)
55config PM
56 bool
57
5cae841b
AV
58config ISA_DMA_API
59 bool
5cae841b 60
a08b6b79
AV
61config ARCH_MAY_HAVE_PC_FDC
62 bool
8b631342 63 depends on BROKEN
a08b6b79
AV
64 default y
65
1da177e4
LT
66source "init/Kconfig"
67
68
69menu "Processor type and features"
70
71choice
72 prompt "Processor type"
73 default PA7000
74
75config PA7000
76 bool "PA7000/PA7100"
77 ---help---
78 This is the processor type of your CPU. This information is
79 used for optimizing purposes. In order to compile a kernel
80 that can run on all 32-bit PA CPUs (albeit not optimally fast),
81 you can specify "PA7000" here.
82
83 Specifying "PA8000" here will allow you to select a 64-bit kernel
84 which is required on some machines.
85
86config PA7100LC
87 bool "PA7100LC"
88 help
89 Select this option for the PCX-L processor, as used in the
90 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
91 D200, D210, D300, D310 and E-class
92
93config PA7200
94 bool "PA7200"
95 help
96 Select this option for the PCX-T' processor, as used in the
97 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
98 K100, K200, K210, K220, K400, K410 and K420
99
100config PA7300LC
101 bool "PA7300LC"
102 help
103 Select this option for the PCX-L2 processor, as used in the
104 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
105 D220, D230, D320 and D330.
106
107config PA8X00
108 bool "PA8000 and up"
109 help
110 Select this option for PCX-U to PCX-W2 processors.
111
112endchoice
113
114# Define implied options from the CPU selection here
115
116config PA20
117 def_bool y
118 depends on PA8X00
119
120config PA11
121 def_bool y
122 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
123
124config PREFETCH
125 def_bool y
126 depends on PA8X00
127
128config 64BIT
129 bool "64-bit kernel"
130 depends on PA8X00
131 help
132 Enable this if you want to support 64bit kernel on PA-RISC platform.
133
134 At the moment, only people willing to use more than 2GB of RAM,
135 or having a 64bit-only capable PA-RISC machine should say Y here.
136
137 Since there is no 64bit userland on PA-RISC, there is no point to
138 enable this option otherwise. The 64bit kernel is significantly bigger
139 and slower than the 32bit one.
140
141config SMP
142 bool "Symmetric multi-processing support"
143 ---help---
144 This enables support for systems with more than one CPU. If you have
145 a system with only one CPU, like most personal computers, say N. If
146 you have a system with more than one CPU, say Y.
147
148 If you say N here, the kernel will run on single and multiprocessor
149 machines, but will use only one CPU of a multiprocessor machine. If
150 you say Y here, the kernel will run on many, but not all,
151 singleprocessor machines. On a singleprocessor machine, the kernel
152 will run faster if you say N here.
153
154 See also the <file:Documentation/smp.txt>,
155 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
156 at <http://www.tldp.org/docs.html#howto>.
157
158 If you don't know what to do here, say N.
159
160config HOTPLUG_CPU
161 bool
162 default y if SMP
163 select HOTPLUG
164
a2ba82cd
KM
165config ARCH_SELECT_MEMORY_MODEL
166 def_bool y
167 depends on 64BIT
168
3f22ab27 169config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd
KM
170 def_bool y
171 depends on 64BIT
172
173config ARCH_FLATMEM_ENABLE
174 def_bool y
175
176config ARCH_DISCONTIGMEM_DEFAULT
177 def_bool y
178 depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4 179
8b631342 180source "kernel/Kconfig.hz"
3f22ab27
DH
181source "mm/Kconfig"
182
1da177e4
LT
183config PREEMPT
184 bool
185# bool "Preemptible Kernel"
186 default n
187
188config COMPAT
189 def_bool y
190 depends on 64BIT
191
192config HPUX
193 bool "Support for HP-UX binaries"
194 depends on !64BIT
195
196config NR_CPUS
197 int "Maximum number of CPUs (2-32)"
198 range 2 32
199 depends on SMP
200 default "32"
201
202endmenu
203
204
205source "drivers/parisc/Kconfig"
206
207
208menu "Executable file formats"
209
210source "fs/Kconfig.binfmt"
211
212endmenu
213
d5950b43
SR
214source "net/Kconfig"
215
1da177e4
LT
216source "drivers/Kconfig"
217
218source "fs/Kconfig"
219
220source "arch/parisc/oprofile/Kconfig"
221
222source "arch/parisc/Kconfig.debug"
223
224source "security/Kconfig"
225
226source "crypto/Kconfig"
227
228source "lib/Kconfig"