diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-11-20 11:42:40 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-12-04 13:41:51 +0100 |
commit | 2e2a7817fdb6304f8c95c29dae0c93e2727240f4 (patch) | |
tree | 88735f6ed6157a9b2329d35c3d9576a10b4c9ff7 /drivers/xen/swiotlb-xen.c | |
parent | arm: introduce is_device_dma_coherent (diff) | |
download | linux-2e2a7817fdb6304f8c95c29dae0c93e2727240f4.tar.xz linux-2e2a7817fdb6304f8c95c29dae0c93e2727240f4.zip |
xen/arm: use is_device_dma_coherent
Use is_device_dma_coherent to check whether we need to issue cache
maintenance operations rather than checking on the existence of a
particular dma_ops function for the device.
This is correct because coherent devices don't need cache maintenance
operations - arm_coherent_dma_ops does not set the hooks that we
were previously checking for existance.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions