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