From: Lennert Buytenhek Date: Sat, 10 May 2008 20:05:31 +0000 (+0100) Subject: [ARM] 5034/1: fix arm{925,926,940,946} dma_flush_range() in WT mode X-Git-Tag: v2.6.26-rc3~20^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3a8b751c1c2997653c6bf2b5d10467c39f3cc6e;p=pandora-kernel.git [ARM] 5034/1: fix arm{925,926,940,946} dma_flush_range() in WT mode The CPU's dma_flush_range() operation needs to clean+invalidate the given memory area if the cache is in writeback mode, or do just the invalidate part if the cache is in writethrough mode, but the current proc-arm{925,926,940,946} (incorrectly) do a cache clean in the latter case. This patch fixes that. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King --- Reading git-diff-tree failed