Bury the conditionals from kernel_thread/kernel_execve series
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / parisc / Kconfig
CommitLineData
1da177e4
LT
1config PARISC
2 def_bool y
ec7748b5 3 select HAVE_IDE
42d4b839 4 select HAVE_OPROFILE
d75f054a
HD
5 select HAVE_FUNCTION_TRACER if 64BIT
6 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
7 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
9eb16864 8 select RTC_CLASS
3afe6d04 9 select RTC_DRV_GENERIC
98a79d6a 10 select INIT_ALL_POSSIBLE
f67d3c83 11 select BUG
e360adbe 12 select HAVE_IRQ_WORK
cdd6c482 13 select HAVE_PERF_EVENTS
64daa443 14 select GENERIC_ATOMIC64 if !64BIT
72e73af1 15 select HAVE_GENERIC_HARDIRQS
754b7b63 16 select BROKEN_RODATA
72e73af1 17 select GENERIC_IRQ_PROBE
629a8581 18 select GENERIC_PCI_IOMAP
72e73af1 19 select IRQ_PER_CPU
df013ffb 20 select ARCH_HAVE_NMI_SAFE_CMPXCHG
9a134723 21 select GENERIC_SMP_IDLE_THREAD
b1195c0e 22 select GENERIC_STRNCPY_FROM_USER
786d35d4
DH
23 select HAVE_MOD_ARCH_SPECIFIC
24 select MODULES_USE_ELF_RELA
415bfae9 25 select CLONE_BACKWARDS
72e73af1 26
1da177e4
LT
27 help
28 The PA-RISC microprocessor is designed by Hewlett-Packard and used
29 in many of their workstations & servers (HP9000 700 and 800 series,
30 and later HP3000 series). The PA-RISC Linux project home page is
31 at <http://www.parisc-linux.org/>.
32
33config MMU
34 def_bool y
35
36config STACK_GROWSUP
37 def_bool y
38
95c354fe
NP
39config GENERIC_LOCKBREAK
40 bool
41 default y
42 depends on SMP && PREEMPT
43
1da177e4
LT
44config RWSEM_GENERIC_SPINLOCK
45 def_bool y
46
47config RWSEM_XCHGADD_ALGORITHM
48 bool
49
f0d1b0b3
DH
50config ARCH_HAS_ILOG2_U32
51 bool
52 default n
53
54config ARCH_HAS_ILOG2_U64
55 bool
56 default n
57
6891f8a1
HD
58config GENERIC_BUG
59 bool
60 default y
61 depends on BUG
62
59e18a2e
AM
63config GENERIC_HWEIGHT
64 bool
65 default y
66
1da177e4
LT
67config GENERIC_CALIBRATE_DELAY
68 bool
69 default y
70
06027bdd
IM
71config TIME_LOW_RES
72 bool
73 depends on SMP
74 default y
75
548f1176
HD
76config HAVE_LATENCYTOP_SUPPORT
77 def_bool y
78
1da177e4
LT
79# unless you want to implement ACPI on PA-RISC ... ;-)
80config PM
81 bool
82
548f1176
HD
83config STACKTRACE_SUPPORT
84 def_bool y
85
74a0bd66
FT
86config NEED_DMA_MAP_STATE
87 def_bool y
88
f6ae31c2
FT
89config NEED_SG_DMA_LENGTH
90 def_bool y
91
5cae841b
AV
92config ISA_DMA_API
93 bool
5cae841b 94
a08b6b79
AV
95config ARCH_MAY_HAVE_PC_FDC
96 bool
8b631342 97 depends on BROKEN
a08b6b79
AV
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"
1c5f873d 179 default PARISC_PAGE_SIZE_4KB
2fd83038
HD
180
181config PARISC_PAGE_SIZE_4KB
182 bool "4KB"
183 help
184 This lets you select the page size of the kernel. For best
185 performance, a page size of 16KB is recommended. For best
186 compatibility with 32bit applications, a page size of 4KB should be
187 selected (the vast majority of 32bit binaries work perfectly fine
188 with a larger page size).
189
190 4KB For best 32bit compatibility
191 16KB For best performance
192 64KB For best performance, might give more overhead.
193
194 If you don't know what to do, choose 4KB.
195
196config PARISC_PAGE_SIZE_16KB
197 bool "16KB (EXPERIMENTAL)"
198 depends on PA8X00 && EXPERIMENTAL
199
200config PARISC_PAGE_SIZE_64KB
201 bool "64KB (EXPERIMENTAL)"
202 depends on PA8X00 && EXPERIMENTAL
203
204endchoice
205
1da177e4
LT
206config SMP
207 bool "Symmetric multi-processing support"
dbcf4787 208 select USE_GENERIC_SMP_HELPERS
1da177e4
LT
209 ---help---
210 This enables support for systems with more than one CPU. If you have
211 a system with only one CPU, like most personal computers, say N. If
212 you have a system with more than one CPU, say Y.
213
214 If you say N here, the kernel will run on single and multiprocessor
215 machines, but will use only one CPU of a multiprocessor machine. If
216 you say Y here, the kernel will run on many, but not all,
217 singleprocessor machines. On a singleprocessor machine, the kernel
218 will run faster if you say N here.
219
03502faa
AB
220 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
221 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
222
223 If you don't know what to do here, say N.
224
225config HOTPLUG_CPU
226 bool
227 default y if SMP
228 select HOTPLUG
229
a2ba82cd
KM
230config ARCH_SELECT_MEMORY_MODEL
231 def_bool y
232 depends on 64BIT
233
3f22ab27 234config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd
KM
235 def_bool y
236 depends on 64BIT
237
238config ARCH_FLATMEM_ENABLE
239 def_bool y
240
241config ARCH_DISCONTIGMEM_DEFAULT
242 def_bool y
243 depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4 244
c80d79d7
YG
245config NODES_SHIFT
246 int
247 default "3"
248 depends on NEED_MULTIPLE_NODES
249
50a34dbd 250source "kernel/Kconfig.preempt"
8b631342 251source "kernel/Kconfig.hz"
3f22ab27
DH
252source "mm/Kconfig"
253
1da177e4
LT
254config COMPAT
255 def_bool y
256 depends on 64BIT
257
258config HPUX
259 bool "Support for HP-UX binaries"
260 depends on !64BIT
261
262config NR_CPUS
263 int "Maximum number of CPUs (2-32)"
264 range 2 32
265 depends on SMP
266 default "32"
267
268endmenu
269
270
271source "drivers/parisc/Kconfig"
272
273
274menu "Executable file formats"
275
276source "fs/Kconfig.binfmt"
277
278endmenu
279
d5950b43
SR
280source "net/Kconfig"
281
1da177e4
LT
282source "drivers/Kconfig"
283
284source "fs/Kconfig"
285
1da177e4
LT
286source "arch/parisc/Kconfig.debug"
287
288source "security/Kconfig"
289
290source "crypto/Kconfig"
291
292source "lib/Kconfig"