iommu/core: export iommu_set_fault_handler()
authorOhad Ben-Cohen <ohad@wizery.com>
Mon, 26 Sep 2011 13:11:46 +0000 (09:11 -0400)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 26 Sep 2011 13:51:57 +0000 (15:51 +0200)
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 b75d9fb2fa91d4ed2481841e4eff3f68f4503e31..3a072596b1b2173d0bce804983d6124066a36107 100644 (file)
@@ -51,6 +51,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)
 {