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