aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-27 04:37:03 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-27 04:42:20 -0400
commit24d2ba0a8a5816eb8322836271fbcb045d915dfd (patch)
tree77205f772ed3ccf43e4082ab0b86dfc791c702b2 /arch/x86/Kconfig
parent54b4cbd26987f84791d6e05863a715ded9f7b3a5 (diff)
x86, AMD IOMMU: build fix
fix: arch/x86/kernel/amd_iommu_init.c:247: warning: 'struct acpi_table_header' declared inside parameter list arch/x86/kernel/amd_iommu_init.c:247: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/amd_iommu_init.c: In function 'find_last_devid_acpi': arch/x86/kernel/amd_iommu_init.c:257: error: dereferencing pointer to incomplete type arch/x86/kernel/amd_iommu_init.c:265: error: dereferencing pointer to incomplete type the AMD IOMMU code depends on ACPI facilities. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 5a82f18ab5ed..62a2820297b1 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -552,7 +552,7 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT
552config AMD_IOMMU 552config AMD_IOMMU
553 bool "AMD IOMMU support" 553 bool "AMD IOMMU support"
554 select SWIOTL 554 select SWIOTL
555 depends on X86_64 && PCI 555 depends on X86_64 && PCI && ACPI
556 help 556 help
557 Select this to get support for AMD IOMMU hardware in your system. 557 Select this to get support for AMD IOMMU hardware in your system.
558 558