diff mbox series

[3/3] swiotlb: unexport is_swiotlb_active

Message ID 20230612142542.111581-4-hch@lst.de (mailing list archive)
State Accepted
Commit 42e584a9856052c3695645d4e3ace767de01dfab
Headers show
Series [1/3] xen/pci: add flag for PCI passthrough being possible | expand

Commit Message

Christoph Hellwig June 12, 2023, 2:25 p.m. UTC
Drivers have no business looking at dma-mapping or swiotlb internals.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 kernel/dma/swiotlb.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jürgen Groß June 27, 2023, 7:19 a.m. UTC | #1
On 12.06.23 16:25, Christoph Hellwig wrote:
> Drivers have no business looking at dma-mapping or swiotlb internals.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen
diff mbox series

Patch

diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index 775f7bb10ab184..1891faa3a6952e 100644
--- a/kernel/dma/swiotlb.c
+++ b/kernel/dma/swiotlb.c
@@ -932,7 +932,6 @@  bool is_swiotlb_active(struct device *dev)
 
 	return mem && mem->nslabs;
 }
-EXPORT_SYMBOL_GPL(is_swiotlb_active);
 
 #ifdef CONFIG_DEBUG_FS