diff mbox series

[4/4] swiotlb: unexport is_swiotlb_active

Message ID 20230518134253.909623-5-hch@lst.de (mailing list archive)
State Accepted
Commit 42e584a9856052c3695645d4e3ace767de01dfab
Headers show
Series [1/4] x86: move a check out of pci_xen_swiotlb_init | expand

Commit Message

Christoph Hellwig May 18, 2023, 1:42 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(-)
diff mbox series

Patch

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