dma-mapping: move the remaining DMA API calls out of line
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 07:45:11 +0000 (09:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 16 Jul 2020 14:58:33 +0000 (16:58 +0200)
commitd3fa60d7bfdc9a0ff1a524bdef96b3db1fd62022
tree9d7eae3daa414027937fc2ae279af2459e2b7f21
parentd9765e41d8e9ea2251bf73735a2895c8bad546fc
dma-mapping: move the remaining DMA API calls out of line

For a long time the DMA API has been implemented inline in dma-mapping.h,
but the function bodies can be quite large.  Move them all out of line.

This also removes all the dma_direct_* exports as those are just
implementation details and should never be used by drivers directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
include/linux/dma-direct.h
include/linux/dma-mapping.h
kernel/dma/direct.c
kernel/dma/mapping.c