提交 bad48f4b 编写于 作者: Y Yinghai Lu 提交者: Ingo Molnar

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: NMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 c73d8dd8
...@@ -239,7 +239,7 @@ if ACPI ...@@ -239,7 +239,7 @@ if ACPI
config X86_MPPARSE config X86_MPPARSE
def_bool y def_bool y
bool "Enable MPS table" bool "Enable MPS table"
depends on ((X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64) depends on X86_LOCAL_APIC && !X86_VISWS
help help
For old smp systems that do not have proper acpi support. Newer systems For old smp systems that do not have proper acpi support. Newer systems
(esp with 64bit cpus) with acpi support, MADT and DSDT will override it (esp with 64bit cpus) with acpi support, MADT and DSDT will override it
...@@ -248,7 +248,7 @@ endif ...@@ -248,7 +248,7 @@ endif
if !ACPI if !ACPI
config X86_MPPARSE config X86_MPPARSE
def_bool y def_bool y
depends on ((X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64) depends on X86_LOCAL_APIC && !X86_VISWS
endif endif
choice choice
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册