GFS2: Fix metafs mounts
[linux-2.6/linux-loongson.git] / arch / sparc64 / Kconfig
blob923a98959fa7349930efa343a4ab1febd4d5b05f
1 # sparc64 configuration
2 mainmenu "Linux Kernel Configuration for 64-bit SPARC"
4 config SPARC
5         bool
6         default y
7         select HAVE_OPROFILE
8         select HAVE_KPROBES
9         select HAVE_KRETPROBES
11 config SPARC64
12         bool
13         default y
14         select HAVE_DYNAMIC_FTRACE
15         select HAVE_FTRACE
16         select HAVE_IDE
17         select HAVE_LMB
18         select HAVE_ARCH_KGDB
19         select USE_GENERIC_SMP_HELPERS if SMP
20         select HAVE_ARCH_TRACEHOOK
22 config GENERIC_TIME
23         bool
24         default y
26 config GENERIC_CMOS_UPDATE
27         bool
28         default y
30 config GENERIC_CLOCKEVENTS
31         bool
32         default y
34 config 64BIT
35         def_bool y
37 config MMU
38         bool
39         default y
41 config IOMMU_HELPER
42         bool
43         default y
45 config QUICKLIST
46         bool
47         default y
49 config STACKTRACE_SUPPORT
50         bool
51         default y
53 config LOCKDEP_SUPPORT
54         bool
55         default y
57 config ARCH_MAY_HAVE_PC_FDC
58         bool
59         default y
61 config ARCH_HAS_ILOG2_U32
62         bool
63         default n
65 config ARCH_HAS_ILOG2_U64
66         bool
67         default n
69 config AUDIT_ARCH
70         bool
71         default y
73 config HAVE_SETUP_PER_CPU_AREA
74         def_bool y
76 config ARCH_NO_VIRT_TO_BUS
77         def_bool y
79 config OF
80         def_bool y
82 config GENERIC_HARDIRQS_NO__DO_IRQ
83         bool
84         def_bool y
86 source "init/Kconfig"
88 menu "Processor type and features"
90 choice
91         prompt "Kernel page size"
92         default SPARC64_PAGE_SIZE_8KB
94 config SPARC64_PAGE_SIZE_8KB
95         bool "8KB"
96         help
97           This lets you select the page size of the kernel.
99           8KB and 64KB work quite well, since SPARC ELF sections
100           provide for up to 64KB alignment.
102           If you don't know what to do, choose 8KB.
104 config SPARC64_PAGE_SIZE_64KB
105         bool "64KB"
107 endchoice
109 config SECCOMP
110         bool "Enable seccomp to safely compute untrusted bytecode"
111         depends on PROC_FS
112         default y
113         help
114           This kernel feature is useful for number crunching applications
115           that may need to compute untrusted bytecode during their
116           execution. By using pipes or other transports made available to
117           the process as file descriptors supporting the read/write
118           syscalls, it's possible to isolate those applications in
119           their own address space using seccomp. Once seccomp is
120           enabled via /proc/<pid>/seccomp, it cannot be disabled
121           and the task is only allowed to execute a few safe syscalls
122           defined by each seccomp mode.
124           If unsure, say Y. Only embedded should say N here.
126 source kernel/Kconfig.hz
128 config HOTPLUG_CPU
129         bool "Support for hot-pluggable CPUs"
130         depends on SMP
131         select HOTPLUG
132         help
133           Say Y here to experiment with turning CPUs off and on.  CPUs
134           can be controlled through /sys/devices/system/cpu/cpu#.
135           Say N if you want to disable CPU hotplug.
137 config GENERIC_HARDIRQS
138         bool
139         default y
141 source "kernel/time/Kconfig"
143 config SMP
144         bool "Symmetric multi-processing support"
145         help
146           This enables support for systems with more than one CPU. If you have
147           a system with only one CPU, say N. If you have a system with more than
148           one CPU, say Y.
150           If you say N here, the kernel will run on single and multiprocessor
151           machines, but will use only one CPU of a multiprocessor machine. If
152           you say Y here, the kernel will run on single-processor machines.
153           On a single-processor machine, the kernel will run faster if you say
154           N here.
156           If you don't know what to do here, say N.
158 config NR_CPUS
159         int "Maximum number of CPUs (2-1024)"
160         range 2 1024
161         depends on SMP
162         default "64"
164 source "drivers/cpufreq/Kconfig"
166 config 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.
173           For details, take a look at <file:Documentation/cpu-freq>.
175           If in doubt, say N.
177 config 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.
184           For details, take a look at <file:Documentation/cpu-freq>.
186           If in doubt, say N.
188 # Global things across all Sun machines.
189 config GENERIC_LOCKBREAK
190         bool
191         default y
192         depends on SMP && PREEMPT
194 config RWSEM_GENERIC_SPINLOCK
195         bool
197 config RWSEM_XCHGADD_ALGORITHM
198         bool
199         default y
201 config GENERIC_FIND_NEXT_BIT
202         bool
203         default y
205 config GENERIC_HWEIGHT
206         bool
207         default y if !ULTRA_HAS_POPULATION_COUNT
209 config GENERIC_CALIBRATE_DELAY
210         bool
211         default y
213 choice
214         prompt "SPARC64 Huge TLB Page Size"
215         depends on HUGETLB_PAGE
216         default HUGETLB_PAGE_SIZE_4MB
218 config HUGETLB_PAGE_SIZE_4MB
219         bool "4MB"
221 config HUGETLB_PAGE_SIZE_512K
222         bool "512K"
224 config HUGETLB_PAGE_SIZE_64K
225         depends on !SPARC64_PAGE_SIZE_64KB
226         bool "64K"
228 endchoice
230 endmenu
232 config NUMA
233         bool "NUMA support"
235 config NODES_SHIFT
236         int
237         default "4"
238         depends on NEED_MULTIPLE_NODES
240 # Some NUMA nodes have memory ranges that span
241 # other nodes.  Even though a pfn is valid and
242 # between a node's start and end pfns, it may not
243 # reside on that node.  See memmap_init_zone()
244 # for details.
245 config NODES_SPAN_OTHER_NODES
246         def_bool y
247         depends on NEED_MULTIPLE_NODES
249 config ARCH_POPULATES_NODE_MAP
250         def_bool y
252 config ARCH_SELECT_MEMORY_MODEL
253         def_bool y
255 config ARCH_SPARSEMEM_ENABLE
256         def_bool y
257         select SPARSEMEM_VMEMMAP_ENABLE
259 config ARCH_SPARSEMEM_DEFAULT
260         def_bool y
262 source "mm/Kconfig"
264 config ISA
265         bool
267 config ISAPNP
268         bool
270 config EISA
271         bool
273 config MCA
274         bool
276 config PCMCIA
277         tristate
278         help
279           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
280           computer.  These are credit-card size devices such as network cards,
281           modems or hard drives often used with laptops computers.  There are
282           actually two varieties of these cards: the older 16 bit PCMCIA cards
283           and the newer 32 bit CardBus cards.  If you want to use CardBus
284           cards, you need to say Y here and also to "CardBus support" below.
286           To use your PC-cards, you will need supporting software from David
287           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
288           for location).  Please also read the PCMCIA-HOWTO, available from
289           <http://www.tldp.org/docs.html#howto>.
291           To compile this driver as modules, choose M here: the
292           modules will be called pcmcia_core and ds.
294 config SBUS
295         bool
296         default y
298 config SBUSCHAR
299         bool
300         default y
302 config SUN_AUXIO
303         bool
304         default y
306 config SUN_IO
307         bool
308         default y
310 config SUN_LDOMS
311         bool "Sun Logical Domains support"
312         help
313           Say Y here is you want to support virtual devices via
314           Logical Domains.
316 config PCI
317         bool "PCI support"
318         select ARCH_SUPPORTS_MSI
319         help
320           Find out whether your system includes a PCI bus. PCI is the name of
321           a bus system, i.e. the way the CPU talks to the other stuff inside
322           your box.  If you say Y here, the kernel will include drivers and
323           infrastructure code to support PCI bus devices.
325 config PCI_DOMAINS
326         def_bool PCI
328 config PCI_SYSCALL
329         def_bool PCI
331 source "drivers/pci/Kconfig"
333 config SUN_OPENPROMFS
334         tristate "Openprom tree appears in /proc/openprom"
335         help
336           If you say Y, the OpenPROM device tree will be available as a
337           virtual file system, which you can mount to /proc/openprom by "mount
338           -t openpromfs none /proc/openprom".
340           To compile the /proc/openprom support as a module, choose M here: the
341           module will be called openpromfs.  If unsure, choose M.
343 menu "Executable file formats"
345 source "fs/Kconfig.binfmt"
347 config COMPAT
348         bool
349         default y
350         select COMPAT_BINFMT_ELF
352 config SYSVIPC_COMPAT
353         bool
354         depends on COMPAT && SYSVIPC
355         default y
357 endmenu
359 config SCHED_SMT
360         bool "SMT (Hyperthreading) scheduler support"
361         depends on SMP
362         default y
363         help
364           SMT scheduler support improves the CPU scheduler's decision making
365           when dealing with SPARC cpus at a cost of slightly increased overhead
366           in some places. If unsure say N here.
368 config SCHED_MC
369         bool "Multi-core scheduler support"
370         depends on SMP
371         default y
372         help
373           Multi-core scheduler support improves the CPU scheduler's decision
374           making when dealing with multi-core CPU chips at a cost of slightly
375           increased overhead in some places. If unsure say N here.
377 source "kernel/Kconfig.preempt"
379 config CMDLINE_BOOL
380         bool "Default bootloader kernel arguments"
382 config CMDLINE
383         string "Initial kernel command string"
384         depends on CMDLINE_BOOL
385         default "console=ttyS0,9600 root=/dev/sda1"
386         help
387           Say Y here if you want to be able to pass default arguments to
388           the kernel. This will be overridden by the bootloader, if you
389           use one (such as SILO). This is most useful if you want to boot
390           a kernel from TFTP, and want default options to be available
391           with having them passed on the command line.
393           NOTE: This option WILL override the PROM bootargs setting!
395 source "net/Kconfig"
397 source "drivers/Kconfig"
399 source "drivers/sbus/char/Kconfig"
401 source "fs/Kconfig"
403 source "arch/sparc64/Kconfig.debug"
405 source "security/Kconfig"
407 source "crypto/Kconfig"
409 source "lib/Kconfig"