]> asedeno.scripts.mit.edu Git - linux.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)
commita8e6d950cdc1012aede8a84d85f902a53d895174
tree278b55367505b681d9bc4dec0873eee56ec26d5d
parentbef4d2037d2143a4df6430bbe1e970fc7e616f6c
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