diff options
author | Christoph Hellwig <hch@lst.de> | 2023-04-07 08:34:36 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-07-31 17:54:27 +0200 |
commit | 42e584a9856052c3695645d4e3ace767de01dfab (patch) | |
tree | 8fa099852a511ab07b4c31d64b936abff5cf32de /kernel/dma/swiotlb.c | |
parent | x86: always initialize xen-swiotlb when xen-pcifront is enabling (diff) | |
download | linux-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.c | 1 |
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 |