aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-19 15:13:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:39:14 -0400
commit6695c85b2e6f9f2e9ccaa8af38b72f5ab4a5184f (patch)
tree14b11dae6c4d036a1d401fd58ccff98380793a91
parentfcfa146e412023dd55f8855f240b2c2082dc1baa (diff)
x86: let MPS support be selectable, v2
v2: seperate "fix for compiling when MPPARSE is not set" to another patch make X86_MPPARSE to be selectable only when acpi is set and X86_MPPARSE will be set if acpi is not set. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Maciej W. Rozycki <macro@linux-mips.org> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/Kconfig21
-rw-r--r--arch/x86/Kconfig.debug9
2 files changed, 21 insertions, 9 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 7ebd986050a8..0804a889c27b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -230,6 +230,27 @@ config SMP
230 230
231 If you don't know what to do here, say N. 231 If you don't know what to do here, say N.
232 232
233config X86_FIND_SMP_CONFIG
234 def_bool y
235 depends on X86_MPPARSE || X86_VOYAGER || X86_VISWS
236 depends on X86_32
237
238if ACPI
239config X86_MPPARSE
240 def_bool y
241 bool "Enable MPS table"
242 depends on ((X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64)
243 help
244 For old smp systems that do not have proper acpi support. Newer systems
245 (esp with 64bit cpus) with acpi support, MADT and DSDT will override it
246endif
247
248if !ACPI
249config X86_MPPARSE
250 def_bool y
251 depends on ((X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64)
252endif
253
233choice 254choice
234 prompt "Subarchitecture Type" 255 prompt "Subarchitecture Type"
235 default X86_PC 256 default X86_PC
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 253e7a5706d3..f7d413d6101a 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -129,15 +129,6 @@ config 4KSTACKS
129 on the VM subsystem for higher order allocations. This option 129 on the VM subsystem for higher order allocations. This option
130 will also use IRQ stacks to compensate for the reduced stackspace. 130 will also use IRQ stacks to compensate for the reduced stackspace.
131 131
132config X86_FIND_SMP_CONFIG
133 def_bool y
134 depends on X86_MPPARSE || X86_VOYAGER || X86_VISWS
135 depends on X86_32
136
137config X86_MPPARSE
138 def_bool y
139 depends on (X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64
140
141config DOUBLEFAULT 132config DOUBLEFAULT
142 default y 133 default y
143 bool "Enable doublefault exception handler" if EMBEDDED 134 bool "Enable doublefault exception handler" if EMBEDDED