From: Stefano Stabellini Date: Thu, 20 Nov 2014 10:42:40 +0000 (+0000) Subject: xen/arm: use is_device_dma_coherent X-Git-Tag: omap-for-v3.20/drop-legacy-3517~118^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e2a7817fdb6304f8c95c29dae0c93e2727240f4;p=pandora-kernel.git 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 Reviewed-by: Catalin Marinas Acked-by: Ian Campbell --- Reading git-diff-tree failed