History

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.

Christoph Hellwig committed 6 years ago

Commit 4f8232b1 parent 286c21d6 files · +3 −32Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/dma-noncoherent.h+0−1
@@ -109,6 +109,5 @@ static inline void arch_dma_prep_coherent(struct page *page, size_t size) · 108 unmodified lines
109109 #endif /* CONFIG_ARCH_HAS_DMA_PREP_COHERENT */
110110
111111 void *uncached_kernel_address(void *addr);
112−void *cached_kernel_address(void *addr);
113112
114113 #endif /* _LINUX_DMA_NONCOHERENT_H */