projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a38ea
)
swiotlb: unexport is_swiotlb_active
author
Christoph Hellwig
<hch@lst.de>
Fri, 7 Apr 2023 06:34:36 +0000
(08:34 +0200)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/kernel/dma/swiotlb.c
b/kernel/dma/swiotlb.c
index 2b83e3ad9dca10bedfc99a0d1d19f7aedf16aaec..1c0a49e6685a91a84f5487e8098dd1ad3c79dab4 100644
(file)
--- 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