From: Rob Herring Date: Tue, 21 Aug 2012 10:20:17 +0000 (+0200) Subject: ARM: add coherent dma ops X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~37^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd37e9405a8e85be49a60b2530efeb5f06bcb753;p=pandora-kernel.git ARM: add coherent dma ops arch_is_coherent is problematic as it is a global symbol. This doesn't work for multi-platform kernels or platforms which can support per device coherent DMA. This adds arm_coherent_dma_ops to be used for devices which connected coherently (i.e. to the ACP port on Cortex-A9 or A15). The arm_dma_ops are modified at boot when arch_is_coherent is true. Signed-off-by: Rob Herring Cc: Russell King Cc: Marek Szyprowski Signed-off-by: Marek Szyprowski --- Reading git-diff-tree failed