]> git.baikalelectronics.ru Git - kernel.git/commit
x86/efi: Don't select EFI from certain special ACPI drivers
authorJan Beulich <JBeulich@suse.com>
Mon, 16 Dec 2013 14:39:40 +0000 (14:39 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 19 Dec 2013 20:32:46 +0000 (21:32 +0100)
commita71ad957844c29af063de5411d1d8e6825555ad0
treee592054afc2f8dbed50ca1c1b09e4781ee4b69d8
parentbfee35e0ecf02e5235b0e0c7b9ca426e6b89ce4c
x86/efi: Don't select EFI from certain special ACPI drivers

Commit 23a306e6 ("Move cper.c from drivers/acpi/apei to
drivers/firmware/efi") results in CONFIG_EFI being enabled even
when the user doesn't want this. Since ACPI APEI used to build
fine without UEFI (and as far as I know also has no functional
depency on it), at least in that case using a reverse dependency
is wrong (and a straight one isn't needed).

Whether the same is true for ACPI_EXTLOG I don't know - if there
is a functional dependency, it should depend on EFI rather than
selecting it. It certainly has (currently) no build dependency.

Adjust Kconfig and build logic so that the bad dependency gets
avoided.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/52AF1EBC020000780010DBF9@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/acpi/Kconfig
drivers/acpi/apei/Kconfig
drivers/firmware/Makefile
drivers/firmware/efi/Kconfig
drivers/firmware/efi/Makefile