]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/sparc64/Kconfig
[SPARC64]: Make use of compat_sys_ptrace()
[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
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
AV
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
03502faa
AB
171 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
172 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
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