diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2014-08-06 22:47:16 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-08-06 23:00:02 -0400 |
commit | 537e5400a0a05c4efe70e7b372c19cfcd0179362 (patch) | |
tree | 6c09ba81f50bac1806ba73c37faedb28a463a2ee /arch/powerpc/kernel | |
parent | 2194dc27bd845d69ea169fb95c1536002904967e (diff) |
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')
-rw-r--r-- | arch/powerpc/kernel/eeh.c | 1 |
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) | |||
1254 | 1254 | ||
1255 | return edev->pe; | 1255 | return edev->pe; |
1256 | } | 1256 | } |
1257 | EXPORT_SYMBOL_GPL(eeh_iommu_group_to_pe); | ||
1257 | 1258 | ||
1258 | #endif /* CONFIG_IOMMU_API */ | 1259 | #endif /* CONFIG_IOMMU_API */ |
1259 | 1260 | ||