]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/iommu/dmar.c
Merge tag 'linux-kselftest-5.5-rc1-fixes2' of git://git.kernel.org/pub/scm/linux...
[linux.git] / drivers / iommu / dmar.c
index eecd6a4216672e430224fb961b53e98cf37ee423..3acfa6a25fa29afef60273cb66058d6a3d32bfd6 100644 (file)
@@ -895,8 +895,11 @@ int __init detect_intel_iommu(void)
        }
 
 #ifdef CONFIG_X86
-       if (!ret)
+       if (!ret) {
                x86_init.iommu.iommu_init = intel_iommu_init;
+               x86_platform.iommu_shutdown = intel_iommu_shutdown;
+       }
+
 #endif
 
        if (dmar_tbl) {