diff options
author | John Garry <john.garry@huawei.com> | 2020-12-04 02:34:51 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-12-08 14:14:48 +0000 |
commit | 51b70b817b187e48155fc492adb9ce80bdb21b70 (patch) | |
tree | 538fd08893b28a94631c3084f699d7e5b724a341 /drivers | |
parent | 2f24dfb71208eeb0174f08dd56ca6d3c17b279a5 (diff) | |
download | linux-stable-51b70b817b187e48155fc492adb9ce80bdb21b70.tar.gz linux-stable-51b70b817b187e48155fc492adb9ce80bdb21b70.tar.bz2 linux-stable-51b70b817b187e48155fc492adb9ce80bdb21b70.zip |
iommu: Stop exporting alloc_iova_mem()
It is not used outside iova.c
Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1607020492-189471-3-git-send-email-john.garry@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iommu/iova.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index 3331c040b2b0..bb5cb67ee311 100644 --- a/drivers/iommu/iova.c +++ b/drivers/iommu/iova.c @@ -243,11 +243,10 @@ static struct kmem_cache *iova_cache; static unsigned int iova_cache_users; static DEFINE_MUTEX(iova_cache_mutex); -struct iova *alloc_iova_mem(void) +static struct iova *alloc_iova_mem(void) { return kmem_cache_zalloc(iova_cache, GFP_ATOMIC | __GFP_NOWARN); } -EXPORT_SYMBOL(alloc_iova_mem); void free_iova_mem(struct iova *iova) { |