diff options
author | Christoph Hellwig <hch@lst.de> | 2020-02-21 21:24:02 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-03-16 10:48:02 +0100 |
commit | 4f8232bbf887123f78bcdca3dfd2b3dfa52a0112 (patch) | |
tree | ec534d3d2c43b28cf92423e28abc9fa750416384 /include/linux/dma-noncoherent.h | |
parent | dma-coherent: fix integer overflow in the reserved-memory dma allocation (diff) | |
download | linux-4f8232bbf887123f78bcdca3dfd2b3dfa52a0112.tar.xz linux-4f8232bbf887123f78bcdca3dfd2b3dfa52a0112.zip |
dma-direct: remove the cached_kernel_address hook
dma-direct now finds the kernel address for coherent allocations based
on the dma address, so the cached_kernel_address hooks is unused and
can be removed entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to '')
-rw-r--r-- | include/linux/dma-noncoherent.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/dma-noncoherent.h b/include/linux/dma-noncoherent.h index ca9b5770caee..b6b72e19b0cd 100644 --- a/include/linux/dma-noncoherent.h +++ b/include/linux/dma-noncoherent.h @@ -109,6 +109,5 @@ static inline void arch_dma_prep_coherent(struct page *page, size_t size) #endif /* CONFIG_ARCH_HAS_DMA_PREP_COHERENT */ void *uncached_kernel_address(void *addr); -void *cached_kernel_address(void *addr); #endif /* _LINUX_DMA_NONCOHERENT_H */ |