aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r--arch/x86/kernel/amd_iommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 134dea103247..a1b38561d347 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -937,8 +937,10 @@ int __init amd_iommu_init_dma_ops(void)
937 iommu_detected = 1; 937 iommu_detected = 1;
938 force_iommu = 1; 938 force_iommu = 1;
939 bad_dma_address = 0; 939 bad_dma_address = 0;
940#ifdef CONFIG_GART_IOMMU
940 gart_iommu_aperture_disabled = 1; 941 gart_iommu_aperture_disabled = 1;
941 gart_iommu_aperture = 0; 942 gart_iommu_aperture = 0;
943#endif
942 944
943 dma_ops = &amd_iommu_dma_ops; 945 dma_ops = &amd_iommu_dma_ops;
944 946