dma-direct: remove the cached_kernel_address hook
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Feb 2020 20:24:02 +0000 (12:24 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Mar 2020 09:48:02 +0000 (10:48 +0100)
commit4f8232bbf887123f78bcdca3dfd2b3dfa52a0112
treeec534d3d2c43b28cf92423e28abc9fa750416384
parent286c21de32b904131f8cf6a36ce40b8b0c9c5da3
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>
arch/Kconfig
arch/microblaze/mm/consistent.c
arch/mips/mm/dma-noncoherent.c
arch/nios2/mm/dma-mapping.c
arch/xtensa/kernel/pci-dma.c
include/linux/dma-noncoherent.h