summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/eeh.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-08-07 04:47:16 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-07 05:00:02 +0200
commit537e5400a0a05c4efe70e7b372c19cfcd0179362 (patch)
tree6c09ba81f50bac1806ba73c37faedb28a463a2ee /arch/powerpc/kernel/eeh.c
parentpowerpc/eeh: Add missing #ifdef CONFIG_IOMMU_API (diff)
downloadlinux-537e5400a0a05c4efe70e7b372c19cfcd0179362.tar.xz
linux-537e5400a0a05c4efe70e7b372c19cfcd0179362.zip
powerpc/eeh: Export eeh_iommu_group_to_pe()
The function is used by VFIO driver, which might be built as a dynamic module. So it should be exported. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/eeh.c')
-rw-r--r--arch/powerpc/kernel/eeh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index 604387979402..59a64f8dc85f 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -1254,6 +1254,7 @@ struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group)
return edev->pe;
}
+EXPORT_SYMBOL_GPL(eeh_iommu_group_to_pe);
#endif /* CONFIG_IOMMU_API */