]> 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)
commit7257208a1a61f96d221417bc73a183932a77e003
tree2cebc6f27705cdc0049be2489a7ff353f096b9f7
parenta7a1bf9dfd3be5e54cd9bf307ef99aadffc54577
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