iommu/core: export iommu_set_fault_handler()
Ohad Ben-Cohen [Mon, 26 Sep 2011 13:11:46 +0000 (09:11 -0400)]
commit 4f3f8d9 "iommu/core: Add fault reporting mechanism" added
the public iommu_set_fault_handler() symbol but forgot to export it.

Fix that.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

drivers/iommu/iommu.c

index c0afcd4..dca1703 100644 (file)
@@ -52,6 +52,7 @@ void iommu_set_fault_handler(struct iommu_domain *domain,
 
        domain->handler = handler;
 }
+EXPORT_SYMBOL_GPL(iommu_set_fault_handler);
 
 struct iommu_domain *iommu_domain_alloc(void)
 {