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