]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: implement dmam_alloc_coherent using dmam_alloc_attrs
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Dec 2018 16:44:19 +0000 (17:44 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 4 Jan 2019 08:03:16 +0000 (09:03 +0100)
commit2146f1352629b5efba9f076313659978abd82226
tree2cebc6f27705cdc0049be2489a7ff353f096b9f7
parent2f50903bc2696f31c64dd2b5878c17fc294b91e5
dma-mapping: implement dmam_alloc_coherent using dmam_alloc_attrs

dmam_alloc_coherent is just the default no-flags case of
dmam_alloc_attrs, so take advantage of this similar to the non-managed
version.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h
kernel/dma/mapping.c