提交 8aadff7d 编写于 作者: A Alexander Nyberg 提交者: Linus Torvalds

[PATCH] Note on ACPI build fix

Even after the previous fix you can still set CONFIG_ACPI_BOOT
indirectly even without CONFIG_ACPI by choosing CONFIG_PCI and
CONFIG_PCI_MMCONFIG.

That doesn't build very well either.

This makes PCI_MMCONFIG depend on ACPI, fixing that hole.

[ I guess in theory Kconfig could follow the whole chain of dependencies
  for things that get selected, but that sounds insanely complicated, so
  we'll just fix up these things by hand.  --Linus ]
Signed-off-by: NAlexander Nyberg <alexn@telia.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 3e11c3ce
...@@ -1163,7 +1163,7 @@ config PCI_DIRECT ...@@ -1163,7 +1163,7 @@ config PCI_DIRECT
config PCI_MMCONFIG config PCI_MMCONFIG
bool bool
depends on PCI && (PCI_GOMMCONFIG || (PCI_GOANY && ACPI)) depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
select ACPI_BOOT select ACPI_BOOT
default y default y
......
...@@ -421,7 +421,7 @@ config PCI_DIRECT ...@@ -421,7 +421,7 @@ config PCI_DIRECT
config PCI_MMCONFIG config PCI_MMCONFIG
bool "Support mmconfig PCI config space access" bool "Support mmconfig PCI config space access"
depends on PCI depends on PCI && ACPI
select ACPI_BOOT select ACPI_BOOT
config UNORDERED_IO config UNORDERED_IO
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册