Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig
[deliverable/linux.git] / arch / sparc64 / Kconfig
CommitLineData
1da177e4
LT
1# $Id: config.in,v 1.158 2002/01/24 22:14:44 davem Exp $
2# For a description of the syntax of this configuration file,
3# see the Configure script.
4#
5
6mainmenu "Linux/UltraSPARC Kernel Configuration"
7
0b57ee9e
AB
8config SPARC
9 bool
10 default y
42d4b839 11 select HAVE_OPROFILE
3f550096 12 select HAVE_KPROBES
0b57ee9e 13
5843e37e
DM
14config SPARC64
15 bool
16 default y
17 help
18 SPARC is a family of RISC microprocessors designed and marketed by
19 Sun Microsystems, incorporated. This port covers the newer 64-bit
20 UltraSPARC. The UltraLinux project maintains both the SPARC32 and
21 SPARC64 ports; its web page is available at
22 <http://www.ultralinux.org/>.
23
112f4871
DM
24config GENERIC_TIME
25 bool
26 default y
27
82644459
TG
28config GENERIC_CMOS_UPDATE
29 bool
30 default y
31
112f4871
DM
32config GENERIC_CLOCKEVENTS
33 bool
34 default y
35
1da177e4
LT
36config 64BIT
37 def_bool y
38
39config MMU
40 bool
41 default y
42
3a2cba99
DM
43config QUICKLIST
44 bool
45 default y
46
10e26723
DM
47config STACKTRACE_SUPPORT
48 bool
49 default y
50
51config LOCKDEP_SUPPORT
52 bool
53 default y
54
a08b6b79
Z
55config ARCH_MAY_HAVE_PC_FDC
56 bool
57 default y
58
f0d1b0b3
DH
59config ARCH_HAS_ILOG2_U32
60 bool
61 default n
62
63config ARCH_HAS_ILOG2_U64
64 bool
65 default n
66
f6bc0c1c
AV
67config AUDIT_ARCH
68 bool
69 default y
70
988c388a 71config HAVE_SETUP_PER_CPU_AREA
b32ef636 72 def_bool y
73
0785b9dc
SR
74config ARCH_NO_VIRT_TO_BUS
75 def_bool y
76
97e873e5
SR
77config OF
78 def_bool y
79
8d57d3ad
DM
80config GENERIC_HARDIRQS_NO__DO_IRQ
81 bool
82 def_bool y
83
1da177e4
LT
84choice
85 prompt "Kernel page size"
86 default SPARC64_PAGE_SIZE_8KB
87
88config SPARC64_PAGE_SIZE_8KB
89 bool "8KB"
90 help
91 This lets you select the page size of the kernel.
92
93 8KB and 64KB work quite well, since Sparc ELF sections
94 provide for up to 64KB alignment.
95
96 Therefore, 512KB and 4MB are for expert hackers only.
97
98 If you don't know what to do, choose 8KB.
99
100config SPARC64_PAGE_SIZE_64KB
101 bool "64KB"
102
103config SPARC64_PAGE_SIZE_512KB
104 bool "512KB"
105
106config SPARC64_PAGE_SIZE_4MB
107 bool "4MB"
108
109endchoice
110
bb49bcda
DM
111config SECCOMP
112 bool "Enable seccomp to safely compute untrusted bytecode"
113 depends on PROC_FS
114 default y
115 help
116 This kernel feature is useful for number crunching applications
117 that may need to compute untrusted bytecode during their
118 execution. By using pipes or other transports made available to
119 the process as file descriptors supporting the read/write
120 syscalls, it's possible to isolate those applications in
121 their own address space using seccomp. Once seccomp is
122 enabled via /proc/<pid>/seccomp, it cannot be disabled
123 and the task is only allowed to execute a few safe syscalls
124 defined by each seccomp mode.
125
126 If unsure, say Y. Only embedded should say N here.
127
a6524813
DM
128source kernel/Kconfig.hz
129
4f0234f4
DM
130config HOTPLUG_CPU
131 bool "Support for hot-pluggable CPUs"
132 depends on SMP
133 select HOTPLUG
134 ---help---
135 Say Y here to experiment with turning CPUs off and on. CPUs
136 can be controlled through /sys/devices/system/cpu/cpu#.
137 Say N if you want to disable CPU hotplug.
138
1da177e4
LT
139source "init/Kconfig"
140
141config SYSVIPC_COMPAT
142 bool
143 depends on COMPAT && SYSVIPC
144 default y
145
e18e2a00
DM
146config GENERIC_HARDIRQS
147 bool
148 default y
149
1da177e4
LT
150menu "General machine setup"
151
112f4871
DM
152source "kernel/time/Kconfig"
153
1da177e4
LT
154config SMP
155 bool "Symmetric multi-processing support"
156 ---help---
157 This enables support for systems with more than one CPU. If you have
158 a system with only one CPU, say N. If you have a system with more than
159 one CPU, say Y.
160
161 If you say N here, the kernel will run on single and multiprocessor
162 machines, but will use only one CPU of a multiprocessor machine. If
163 you say Y here, the kernel will run on many, but not all,
164 singleprocessor machines. On a singleprocessor machine, the kernel
165 will run faster if you say N here.
166
167 People using multiprocessor machines who say Y here should also say
168 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
169 Management" code will be disabled if you say Y here.
170
171 See also the <file:Documentation/smp.txt>,
172 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
173 <http://www.tldp.org/docs.html#howto>.
174
175 If you don't know what to do here, say N.
176
1da177e4 177config NR_CPUS
22adb358
DM
178 int "Maximum number of CPUs (2-1024)"
179 range 2 1024
1da177e4 180 depends on SMP
22adb358 181 default "64"
1da177e4
LT
182
183source "drivers/cpufreq/Kconfig"
184
185config US3_FREQ
186 tristate "UltraSPARC-III CPU Frequency driver"
187 depends on CPU_FREQ
188 select CPU_FREQ_TABLE
189 help
190 This adds the CPUFreq driver for UltraSPARC-III processors.
191
192 For details, take a look at <file:Documentation/cpu-freq>.
193
194 If in doubt, say N.
195
196config US2E_FREQ
197 tristate "UltraSPARC-IIe CPU Frequency driver"
198 depends on CPU_FREQ
199 select CPU_FREQ_TABLE
200 help
201 This adds the CPUFreq driver for UltraSPARC-IIe processors.
202
203 For details, take a look at <file:Documentation/cpu-freq>.
204
205 If in doubt, say N.
206
1da177e4 207# Global things across all Sun machines.
95c354fe
NP
208config GENERIC_LOCKBREAK
209 bool
210 default y
211 depends on SMP && PREEMPT
212
1da177e4
LT
213config RWSEM_GENERIC_SPINLOCK
214 bool
215
216config RWSEM_XCHGADD_ALGORITHM
217 bool
218 default y
219
2d78d4be
AM
220config GENERIC_FIND_NEXT_BIT
221 bool
222 default y
223
224config GENERIC_HWEIGHT
225 bool
226 default y if !ULTRA_HAS_POPULATION_COUNT
227
1da177e4
LT
228config GENERIC_CALIBRATE_DELAY
229 bool
230 default y
231
232choice
233 prompt "SPARC64 Huge TLB Page Size"
234 depends on HUGETLB_PAGE
235 default HUGETLB_PAGE_SIZE_4MB
236
237config HUGETLB_PAGE_SIZE_4MB
238 bool "4MB"
239
240config HUGETLB_PAGE_SIZE_512K
dcc1e8dd 241 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
1da177e4
LT
242 bool "512K"
243
244config HUGETLB_PAGE_SIZE_64K