2012-10-25 21:04:12

by Bin Gao

[permalink] [raw]
Subject: arch/x86/Kconfig: allow turning off CONFIG_X86_MPPARSE when either ACPI or SFI is present

MPS tables are not needed for systems that have proper ACPI support.
This is also true for systems that have SFI in place.

So this patch allows the configuration (turning off) of CONFIG_X86_MPPARSE
when either ACPI or SFI is present.

Signed-off-by: Bin Gao <[email protected]>
---
arch/x86/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 46c3bff..b1494bd 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -310,7 +310,7 @@ config X86_X2APIC
If you don't know what to do here, say N.

config X86_MPPARSE
- bool "Enable MPS table" if ACPI
+ bool "Enable MPS table" if ACPI || SFI
default y
depends on X86_LOCAL_APIC
---help---
--
1.7.4.4


2012-10-26 11:17:44

by Bin Gao

[permalink] [raw]
Subject: [tip:x86/boot] arch/x86/Kconfig: Allow turning off CONFIG_X86_MPPARSE when either ACPI or SFI is present

Commit-ID: 6e87f9b7e48e165cb8e6092b9abe682e7065614a
Gitweb: http://git.kernel.org/tip/6e87f9b7e48e165cb8e6092b9abe682e7065614a
Author: Bin Gao <[email protected]>
AuthorDate: Thu, 25 Oct 2012 09:35:44 -0700
Committer: Ingo Molnar <[email protected]>
CommitDate: Fri, 26 Oct 2012 12:20:38 +0200

arch/x86/Kconfig: Allow turning off CONFIG_X86_MPPARSE when either ACPI or SFI is present

MPS tables are not needed for systems that have proper ACPI
support. This is also true for systems that have SFI in place.

So this patch allows the configuration (turning off) of
CONFIG_X86_MPPARSE when either ACPI or SFI is present.

Signed-off-by: Bin Gao <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Bin Gao <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/x86/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 46c3bff..b1494bd 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -310,7 +310,7 @@ config X86_X2APIC
If you don't know what to do here, say N.

config X86_MPPARSE
- bool "Enable MPS table" if ACPI
+ bool "Enable MPS table" if ACPI || SFI
default y
depends on X86_LOCAL_APIC
---help---