diff options
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index d1aa2344cd90..6ab8128db1cc 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -801,8 +801,10 @@ void __init amd_iommu_detect(void) | |||
801 | 801 | ||
802 | if (acpi_table_parse("IVRS", early_amd_iommu_detect) == 0) { | 802 | if (acpi_table_parse("IVRS", early_amd_iommu_detect) == 0) { |
803 | iommu_detected = 1; | 803 | iommu_detected = 1; |
804 | #ifdef CONFIG_GART_IOMMU | ||
804 | gart_iommu_aperture_disabled = 1; | 805 | gart_iommu_aperture_disabled = 1; |
805 | gart_iommu_aperture = 0; | 806 | gart_iommu_aperture = 0; |
807 | #endif | ||
806 | } | 808 | } |
807 | } | 809 | } |
808 | 810 | ||