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