git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: intel-iommu: Convert detect_intel_iommu to use iommu_init hook
[safe/jmp/linux-2.6]
/
drivers
/
pci
/
dmar.c
diff --git
a/drivers/pci/dmar.c
b/drivers/pci/dmar.c
index
22b02c6
..
bce9cd7
100644
(file)
--- a/
drivers/pci/dmar.c
+++ b/
drivers/pci/dmar.c
@@
-617,6
+617,10
@@
void __init detect_intel_iommu(void)
!dmar_disabled)
iommu_detected = 1;
#endif
+#ifdef CONFIG_X86
+ if (ret)
+ x86_init.iommu.iommu_init = intel_iommu_init;
+#endif
}
early_acpi_os_unmap_memory(dmar_tbl, dmar_tbl_size);
dmar_tbl = NULL;