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.
Showing the changes to include/linux (1 of 6 files). Show all
Unified · Split
| @@ -109,6 +109,5 @@ static inline void arch_dma_prep_coherent(struct page *page, size_t size) · 108 unmodified lines | |||
| 109 | #endif /* CONFIG_ARCH_HAS_DMA_PREP_COHERENT */ | 109 | #endif /* CONFIG_ARCH_HAS_DMA_PREP_COHERENT */ |
| 110 | 110 | ||
| 111 | void *uncached_kernel_address(void *addr); | 111 | void *uncached_kernel_address(void *addr); |
| 112 | void *cached_kernel_address(void *addr); | ||
| 113 | 112 | ||
| 114 | #endif /* _LINUX_DMA_NONCOHERENT_H */ | 113 | #endif /* _LINUX_DMA_NONCOHERENT_H */ |