]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
MIPS: Consolidate coherent and non-coherent dma_alloc code
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Aug 2017 15:07:12 +0000 (17:07 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Aug 2017 13:21:54 +0000 (15:21 +0200)
commitc59435a617a7c442d5253e42c351135672417803
tree7a75d77bdfba211ffadbf2466c229454595b3390
parent077b14e1a9b79d7b940de0a39fa3ad155d5e3399
MIPS: Consolidate coherent and non-coherent dma_alloc code

Besides eliminating lots of duplication this also allows allocations with
the DMA_ATTR_NON_CONSISTENT to use the CMA allocator.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17181/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/dma-default.c