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