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