diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-20 10:33:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 05:10:25 -0400 |
commit | bad48f4b313a756ccde454c25c14c828e2fd5819 (patch) | |
tree | fb5a95667fb1c0544ce9ac5d99958f5176a32bd9 /arch/x86/Kconfig | |
parent | c73d8dd8595c4c6c1c016bb1ac4dd8035e67975b (diff) |
x86: simplify x86_mpparse dependency check
"Maciej W. Rozycki" <macro@linux-mips.org> said:
> Given X86_64 selects X86_LOCAL_APIC I am not sure the redundancy seen
>above does not actually obscure the logic behind... I think:
>
> depends on X86_LOCAL_APIC && !X86_VISWS
>
>would be clearer and get the same.
Suggested-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 25251799337f..23c352e408af 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -239,7 +239,7 @@ if ACPI | |||
239 | config X86_MPPARSE | 239 | config X86_MPPARSE |
240 | def_bool y | 240 | def_bool y |
241 | bool "Enable MPS table" | 241 | bool "Enable MPS table" |
242 | depends on ((X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64) | 242 | depends on X86_LOCAL_APIC && !X86_VISWS |
243 | help | 243 | help |
244 | For old smp systems that do not have proper acpi support. Newer systems | 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 | 245 | (esp with 64bit cpus) with acpi support, MADT and DSDT will override it |
@@ -248,7 +248,7 @@ endif | |||
248 | if !ACPI | 248 | if !ACPI |
249 | config X86_MPPARSE | 249 | config X86_MPPARSE |
250 | def_bool y | 250 | def_bool y |
251 | depends on ((X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64) | 251 | depends on X86_LOCAL_APIC && !X86_VISWS |
252 | endif | 252 | endif |
253 | 253 | ||
254 | choice | 254 | choice |