summaryrefslogtreecommitdiffstats
path: root/kernel/dma/swiotlb.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-07 08:34:36 +0200
committerChristoph Hellwig <hch@lst.de>2023-07-31 17:54:27 +0200
commit42e584a9856052c3695645d4e3ace767de01dfab (patch)
tree8fa099852a511ab07b4c31d64b936abff5cf32de /kernel/dma/swiotlb.c
parentx86: always initialize xen-swiotlb when xen-pcifront is enabling (diff)
downloadlinux-42e584a9856052c3695645d4e3ace767de01dfab.tar.xz
linux-42e584a9856052c3695645d4e3ace767de01dfab.zip
swiotlb: unexport is_swiotlb_active
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>
Diffstat (limited to 'kernel/dma/swiotlb.c')
-rw-r--r--kernel/dma/swiotlb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index 2b83e3ad9dca..1c0a49e6685a 100644
--- a/kernel/dma/swiotlb.c
+++ b/kernel/dma/swiotlb.c
@@ -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