swiotlb: unexport is_swiotlb_active
authorChristoph Hellwig <hch@lst.de>
Fri, 7 Apr 2023 06:34:36 +0000 (08:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 31 Jul 2023 15:54:27 +0000 (17:54 +0200)
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>
kernel/dma/swiotlb.c

index 2b83e3a..1c0a49e 100644 (file)
@@ -956,7 +956,6 @@ bool is_swiotlb_active(struct device *dev)
 
        return mem && mem->nslabs;
 }
-EXPORT_SYMBOL_GPL(is_swiotlb_active);
 
 #ifdef CONFIG_DEBUG_FS