mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: Export some iommu domain management functions
Several of the iommu virtual address space functions may need to be accessed by modules. Export the symbol. Change-Id: Ief99cbb63f729943b6d8b45ce9aed071d84decd1 Signed-off-by: Laura Abbott <lauraa@codeaurora.org> (cherry picked from commit 33b30bee472264ecf5b7d06d842349bbe593d0fc) Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org> (cherry picked from commit 67c19b8a6c2a8a4e27df324516ecddbf758c379c)
This commit is contained in:
parent
67d11beed2
commit
7bd3749de9
1 changed files with 3 additions and 0 deletions
|
@ -189,6 +189,7 @@ int msm_iommu_map_contig_buffer(unsigned long phys,
|
|||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(msm_iommu_map_contig_buffer);
|
||||
|
||||
void msm_iommu_unmap_contig_buffer(unsigned long iova,
|
||||
unsigned int domain_no,
|
||||
|
@ -201,6 +202,7 @@ void msm_iommu_unmap_contig_buffer(unsigned long iova,
|
|||
iommu_unmap_range(msm_get_iommu_domain(domain_no), iova, size);
|
||||
msm_free_iova_address(iova, domain_no, partition_no, size);
|
||||
}
|
||||
EXPORT_SYMBOL(msm_iommu_unmap_contig_buffer);
|
||||
|
||||
static struct msm_iova_data *find_domain(int domain_num)
|
||||
{
|
||||
|
@ -400,6 +402,7 @@ out:
|
|||
|
||||
return -EINVAL;
|
||||
}
|
||||
EXPORT_SYMBOL(msm_register_domain);
|
||||
|
||||
static int __init iommu_domain_probe(struct platform_device *pdev)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue