[ARM] 5034/1: fix arm{925,926,940,946} dma_flush_range() in WT mode
authorLennert Buytenhek <buytenh@wantstofly.org>
Sat, 10 May 2008 20:05:31 +0000 (21:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 17 May 2008 21:55:14 +0000 (22:55 +0100)
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 <buytenh@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found