Add HAVE_OPROFILE
[sfrench/cifs-2.6.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_OPROFILE
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
17 config MMU
18         def_bool y
19
20 config STACK_GROWSUP
21         def_bool y
22
23 config GENERIC_LOCKBREAK
24         bool
25         default y
26         depends on SMP && PREEMPT
27
28 config RWSEM_GENERIC_SPINLOCK
29         def_bool y
30
31 config RWSEM_XCHGADD_ALGORITHM
32         bool
33
34 config ARCH_HAS_ILOG2_U32
35         bool
36         default n
37
38 config ARCH_HAS_ILOG2_U64
39         bool
40         default n
41
42 config GENERIC_FIND_NEXT_BIT
43         bool
44         default y
45
46 config GENERIC_BUG
47         bool
48         default y
49         depends on BUG
50
51 config GENERIC_HWEIGHT
52         bool
53         default y
54
55 config GENERIC_CALIBRATE_DELAY
56         bool
57         default y
58
59 config GENERIC_TIME
60         bool
61         default y
62
63 config TIME_LOW_RES
64         bool
65         depends on SMP
66         default y
67
68 config GENERIC_HARDIRQS
69         def_bool y
70
71 config GENERIC_IRQ_PROBE
72         def_bool y
73
74 config IRQ_PER_CPU
75         bool
76         default y
77
78 # unless you want to implement ACPI on PA-RISC ... ;-)
79 config PM
80         bool
81
82 config ISA_DMA_API
83         bool
84
85 config ARCH_MAY_HAVE_PC_FDC
86         bool
87         depends on BROKEN
88         default y
89
90 source "init/Kconfig"
91
92
93 menu "Processor type and features"
94
95 choice
96         prompt "Processor type"
97         default PA7000
98
99 config 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
110 config 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
117 config 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
124 config 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
131 config PA8X00
132         bool "PA8000 and up"
133         help
134           Select this option for PCX-U to PCX-W2 processors.
135
136 endchoice
137
138 # Define implied options from the CPU selection here
139
140 config PA20
141         def_bool y
142         depends on PA8X00
143
144 config PA11
145         def_bool y
146         depends on PA7000 || PA7100LC || PA7200 || PA7300LC
147
148 config PREFETCH
149         def_bool y
150         depends on PA8X00 || PA7200
151
152 config 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
165 choice
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
171 config 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
186 config PARISC_PAGE_SIZE_16KB
187         bool "16KB (EXPERIMENTAL)"
188         depends on PA8X00 && EXPERIMENTAL
189
190 config PARISC_PAGE_SIZE_64KB
191         bool "64KB (EXPERIMENTAL)"
192         depends on PA8X00 && EXPERIMENTAL
193
194 endchoice
195
196 config 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
215 config HOTPLUG_CPU
216         bool
217         default y if SMP
218         select HOTPLUG
219
220 config ARCH_SELECT_MEMORY_MODEL
221         def_bool y
222         depends on 64BIT
223
224 config ARCH_DISCONTIGMEM_ENABLE
225         def_bool y
226         depends on 64BIT
227
228 config ARCH_FLATMEM_ENABLE
229         def_bool y
230
231 config ARCH_DISCONTIGMEM_DEFAULT
232         def_bool y
233         depends on ARCH_DISCONTIGMEM_ENABLE
234
235 config NODES_SHIFT
236         int
237         default "3"
238         depends on NEED_MULTIPLE_NODES
239
240 source "kernel/Kconfig.preempt"
241 source "kernel/Kconfig.hz"
242 source "mm/Kconfig"
243
244 config COMPAT
245         def_bool y
246         depends on 64BIT
247
248 config HPUX
249         bool "Support for HP-UX binaries"
250         depends on !64BIT
251
252 config NR_CPUS
253         int "Maximum number of CPUs (2-32)"
254         range 2 32
255         depends on SMP
256         default "32"
257
258 endmenu
259
260
261 source "drivers/parisc/Kconfig"
262
263
264 menu "Executable file formats"
265
266 source "fs/Kconfig.binfmt"
267
268 endmenu
269
270 source "net/Kconfig"
271
272 source "drivers/Kconfig"
273
274 source "fs/Kconfig"
275
276 source "kernel/Kconfig.instrumentation"
277
278 source "arch/parisc/Kconfig.debug"
279
280 source "security/Kconfig"
281
282 source "crypto/Kconfig"
283
284 source "lib/Kconfig"