]> git.baikalelectronics.ru Git - kernel.git/commit
arm: introduce is_device_dma_coherent
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 20 Nov 2014 10:41:40 +0000 (10:41 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 12:41:50 +0000 (12:41 +0000)
commit62d0a67c3704fb0373c49ed9f9829aa75edadd19
tree314da191fca5fec9ec2703e5ba00b0e09566b7b4
parent36845aecef12862b6d43816b4b60fd71a79f5771
arm: introduce is_device_dma_coherent

Introduce a boolean flag and an accessor function to check whether a
device is dma_coherent. Set the flag from set_arch_dma_coherent_ops.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
arch/arm/include/asm/device.h
arch/arm/include/asm/dma-mapping.h