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