projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa0682
)
dma-mapping: remove the dma_mmap_from_dev_coherent export
author
Christoph Hellwig
<hch@lst.de>
Fri, 30 Aug 2019 06:40:33 +0000
(08:40 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 4 Sep 2019 09:13:19 +0000
(11:13 +0200)
dma_mmap_from_dev_coherent is only used by dma_map_ops instances,
none of which is modular.
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/coherent.c
patch
|
blob
|
history
diff --git
a/kernel/dma/coherent.c
b/kernel/dma/coherent.c
index 7271cda86a373dbf63662722260668bbba27e46e..7cafe1affdc97aa4b89d0e1069eb2c9544adb0a1 100644
(file)
--- a/
kernel/dma/coherent.c
+++ b/
kernel/dma/coherent.c
@@
-277,7
+277,6
@@
int dma_mmap_from_dev_coherent(struct device *dev, struct vm_area_struct *vma,
return __dma_mmap_from_coherent(mem, vma, vaddr, size, ret);
}
-EXPORT_SYMBOL(dma_mmap_from_dev_coherent);
int dma_mmap_from_global_coherent(struct vm_area_struct *vma, void *vaddr,
size_t size, int *ret)