diff options
author | Alexander Nyberg <alexn@telia.com> | 2005-05-27 06:48:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-27 11:15:05 -0400 |
commit | 8aadff7dd519800ce7c0e7fb75dcd4438b373134 (patch) | |
tree | abcd2112cb4554a76588e876e9007cdb380a2c3e /arch | |
parent | 3e11c3ce0a4ce3d30802babccb0e5f881778ccf1 (diff) |
[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: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86_64/Kconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index e382f32d435e..dfd904f6883b 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -1163,7 +1163,7 @@ config PCI_DIRECT | |||
1163 | 1163 | ||
1164 | config PCI_MMCONFIG | 1164 | config PCI_MMCONFIG |
1165 | bool | 1165 | bool |
1166 | depends on PCI && (PCI_GOMMCONFIG || (PCI_GOANY && ACPI)) | 1166 | depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) |
1167 | select ACPI_BOOT | 1167 | select ACPI_BOOT |
1168 | default y | 1168 | default y |
1169 | 1169 | ||
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 82cb2a3f127a..0f430d9d3632 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -421,7 +421,7 @@ config PCI_DIRECT | |||
421 | 421 | ||
422 | config PCI_MMCONFIG | 422 | config PCI_MMCONFIG |
423 | bool "Support mmconfig PCI config space access" | 423 | bool "Support mmconfig PCI config space access" |
424 | depends on PCI | 424 | depends on PCI && ACPI |
425 | select ACPI_BOOT | 425 | select ACPI_BOOT |
426 | 426 | ||
427 | config UNORDERED_IO | 427 | config UNORDERED_IO |