Skip to content

Commit 2cf7dbf

Browse files
John Garryjoergroedel
authored andcommitted
iova: Stop exporting some more functions
The following functions are not referenced outside dma-iommu.c (and iova.c), which can only be built-in: - init_iova_flush_queue() - free_iova_fast() - queue_iova() - alloc_iova_fast() So stop exporting them. Signed-off-by: John Garry <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 6221061 commit 2cf7dbf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/iommu/iova.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ int init_iova_flush_queue(struct iova_domain *iovad,
112112

113113
return 0;
114114
}
115-
EXPORT_SYMBOL_GPL(init_iova_flush_queue);
116115

117116
static struct rb_node *
118117
__get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn)
@@ -451,7 +450,6 @@ alloc_iova_fast(struct iova_domain *iovad, unsigned long size,
451450

452451
return new_iova->pfn_lo;
453452
}
454-
EXPORT_SYMBOL_GPL(alloc_iova_fast);
455453

456454
/**
457455
* free_iova_fast - free iova pfn range into rcache
@@ -598,7 +596,6 @@ void queue_iova(struct iova_domain *iovad,
598596
mod_timer(&iovad->fq_timer,
599597
jiffies + msecs_to_jiffies(IOVA_FQ_TIMEOUT));
600598
}
601-
EXPORT_SYMBOL_GPL(queue_iova);
602599

603600
/**
604601
* put_iova_domain - destroys the iova domain

0 commit comments

Comments
 (0)