]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 2b83e3ad9dca10bedfc99a0d1d19f7aedf16aaec..1c0a49e6685a91a84f5487e8098dd1ad3c79dab4 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