[PATCH] create mm/Kconfig for arch-independent memory options
[linux-2.6-block.git] / arch / parisc / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux/PA-RISC Kernel Configuration"
7
8config PARISC
9 def_bool y
10 help
11 The PA-RISC microprocessor is designed by Hewlett-Packard and used
12 in many of their workstations & servers (HP9000 700 and 800 series,
13 and later HP3000 series). The PA-RISC Linux project home page is
14 at <http://www.parisc-linux.org/>.
15
16config MMU
17 def_bool y
18
19config STACK_GROWSUP
20 def_bool y
21
22config UID16
23 bool
24
25config RWSEM_GENERIC_SPINLOCK
26 def_bool y
27
28config RWSEM_XCHGADD_ALGORITHM
29 bool
30
31config GENERIC_CALIBRATE_DELAY
32 bool
33 default y
34
35config GENERIC_ISA_DMA
36 bool
37
38config GENERIC_HARDIRQS
39 def_bool y
40
41config GENERIC_IRQ_PROBE
42 def_bool y
43
44# unless you want to implement ACPI on PA-RISC ... ;-)
45config PM
46 bool
47
5cae841b
AV
48config ISA_DMA_API
49 bool
50 default y
51
1da177e4
LT
52source "init/Kconfig"
53
54
55menu "Processor type and features"
56
57choice
58 prompt "Processor type"
59 default PA7000
60
61config PA7000
62 bool "PA7000/PA7100"
63 ---help---
64 This is the processor type of your CPU. This information is
65 used for optimizing purposes. In order to compile a kernel
66 that can run on all 32-bit PA CPUs (albeit not optimally fast),
67 you can specify "PA7000" here.
68
69 Specifying "PA8000" here will allow you to select a 64-bit kernel
70 which is required on some machines.
71
72config PA7100LC
73 bool "PA7100LC"
74 help
75 Select this option for the PCX-L processor, as used in the
76 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
77 D200, D210, D300, D310 and E-class
78
79config PA7200
80 bool "PA7200"
81 help
82 Select this option for the PCX-T' processor, as used in the
83 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
84 K100, K200, K210, K220, K400, K410 and K420
85
86config PA7300LC
87 bool "PA7300LC"
88 help
89 Select this option for the PCX-L2 processor, as used in the
90 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
91 D220, D230, D320 and D330.
92
93config PA8X00
94 bool "PA8000 and up"
95 help
96 Select this option for PCX-U to PCX-W2 processors.
97
98endchoice
99
100# Define implied options from the CPU selection here
101
102config PA20
103 def_bool y
104 depends on PA8X00
105
106config PA11
107 def_bool y
108 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
109
110config PREFETCH
111 def_bool y
112 depends on PA8X00
113
114config 64BIT
115 bool "64-bit kernel"
116 depends on PA8X00
117 help
118 Enable this if you want to support 64bit kernel on PA-RISC platform.
119
120 At the moment, only people willing to use more than 2GB of RAM,
121 or having a 64bit-only capable PA-RISC machine should say Y here.
122
123 Since there is no 64bit userland on PA-RISC, there is no point to
124 enable this option otherwise. The 64bit kernel is significantly bigger
125 and slower than the 32bit one.
126
127config SMP
128 bool "Symmetric multi-processing support"
129 ---help---
130 This enables support for systems with more than one CPU. If you have
131 a system with only one CPU, like most personal computers, say N. If
132 you have a system with more than one CPU, say Y.
133
134 If you say N here, the kernel will run on single and multiprocessor
135 machines, but will use only one CPU of a multiprocessor machine. If
136 you say Y here, the kernel will run on many, but not all,
137 singleprocessor machines. On a singleprocessor machine, the kernel
138 will run faster if you say N here.
139
140 See also the <file:Documentation/smp.txt>,
141 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
142 at <http://www.tldp.org/docs.html#howto>.
143
144 If you don't know what to do here, say N.
145
146config HOTPLUG_CPU
147 bool
148 default y if SMP
149 select HOTPLUG
150
151config DISCONTIGMEM
152 bool "Discontiguous memory support (EXPERIMENTAL)"
153 depends on EXPERIMENTAL
154 help
155 Say Y to support efficient handling of discontiguous physical memory,
156 for architectures which are either NUMA (Non-Uniform Memory Access)
157 or have huge holes in the physical address space for other reasons.
158 See <file:Documentation/vm/numa> for more.
159
160config PREEMPT
161 bool
162# bool "Preemptible Kernel"
163 default n
164
165config COMPAT
166 def_bool y
167 depends on 64BIT
168
169config HPUX
170 bool "Support for HP-UX binaries"
171 depends on !64BIT
172
173config NR_CPUS
174 int "Maximum number of CPUs (2-32)"
175 range 2 32
176 depends on SMP
177 default "32"
178
179endmenu
180
181
182source "drivers/parisc/Kconfig"
183
184
185menu "Executable file formats"
186
187source "fs/Kconfig.binfmt"
188
189endmenu
190
191source "drivers/Kconfig"
192
193source "fs/Kconfig"
194
195source "arch/parisc/oprofile/Kconfig"
196
197source "arch/parisc/Kconfig.debug"
198
199source "security/Kconfig"
200
201source "crypto/Kconfig"
202
203source "lib/Kconfig"