浏览代码

iommu/core: export iommu_set_fault_handler()

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>
Ohad Ben-Cohen 13 年之前
父节点
当前提交
30bd918c71
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/iommu/iommu.c

+ 1 - 0
drivers/iommu/iommu.c

@@ -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)
 {