dma-mapping: deprecate dma_zalloc_coherent
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Dec 2018 08:15:02 +0000 (09:15 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Dec 2018 07:14:09 +0000 (08:14 +0100)
commit06d4dd2f2ce1cdb625f77c0676d5af6ba310c01d
tree4ab5304877a59cda6d57944619e7567af45ae2b6
parent518a2f1925c3165befbf06b75e07636549d92c1c
dma-mapping: deprecate dma_zalloc_coherent

We now always return zeroed memory from dma_alloc_coherent.  Note that
simply passing GFP_ZERO to dma_alloc_coherent wasn't always doing the
right thing to start with given that various allocators are not backed
by the page allocator and thus would ignore GFP_ZERO.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Documentation/DMA-API.txt
include/linux/dma-mapping.h