From: Russell King Date: Tue, 6 Feb 2007 17:29:53 +0000 (+0000) Subject: [ARM] Don't call consistent_sync() for DMA coherent memory X-Git-Tag: v2.6.21-rc1~75^2~6^6~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f8e33546d17c7d8849be3a6623c3b6b3c9b588b;p=pandora-kernel.git [ARM] Don't call consistent_sync() for DMA coherent memory Memory allocated by the coherent memory allocators will be marked uncacheable, which means it's pointless calling consistent_sync() to perform cache maintainence on this memory; it's just a waste of CPU cycles. Moreover, with the (subsequent) merge of outer cache support, it actually breaks things to call consistent_sync() on anything but direct-mapped memory. Signed-off-by: Russell King --- Reading git-diff-tree failed