diff options
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r-- | drivers/pci/dmar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index 22b02c6df854..bce9cd7c755a 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c | |||
@@ -617,6 +617,10 @@ void __init detect_intel_iommu(void) | |||
617 | !dmar_disabled) | 617 | !dmar_disabled) |
618 | iommu_detected = 1; | 618 | iommu_detected = 1; |
619 | #endif | 619 | #endif |
620 | #ifdef CONFIG_X86 | ||
621 | if (ret) | ||
622 | x86_init.iommu.iommu_init = intel_iommu_init; | ||
623 | #endif | ||
620 | } | 624 | } |
621 | early_acpi_os_unmap_memory(dmar_tbl, dmar_tbl_size); | 625 | early_acpi_os_unmap_memory(dmar_tbl, dmar_tbl_size); |
622 | dmar_tbl = NULL; | 626 | dmar_tbl = NULL; |