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