]> git.baikalelectronics.ru Git - kernel.git/commit
xen/arm: use dev_is_dma_coherent
authorChristoph Hellwig <hch@lst.de>
Wed, 24 Jul 2019 12:06:54 +0000 (14:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 11 Sep 2019 10:43:26 +0000 (12:43 +0200)
commitec0245dac2194fbe4badd909bc8083b78310f00e
tree278b55367505b681d9bc4dec0873eee56ec26d5d
parent87c5dfcfb45a25f5ec495087b61a827e10d1f05b
xen/arm: use dev_is_dma_coherent

Use the dma-noncoherent dev_is_dma_coherent helper instead of the home
grown variant.  Note that both are always initialized to the same
value in arch_setup_dma_ops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/include/asm/dma-mapping.h
arch/arm/xen/mm.c
arch/arm64/include/asm/dma-mapping.h