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