From: Magnus Damm Date: Fri, 25 Jan 2008 03:42:48 +0000 (+0900) Subject: sh: declared coherent memory support V2 fix X-Git-Tag: v2.6.25-rc2~5^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a3eeba88f935b200245d1536b99cd4b7eec1d4a;p=pandora-kernel.git sh: declared coherent memory support V2 fix This patch fixes the recently introduced declared coherent memory support. Without this fix a cached memory area is returned by dma_alloc_coherent() - unless dma_declare_coherent_memory() has setup a separate area. This patch makes sure an uncached memory area is returned. With this patch it is now possible to ping through an rtl8139 interface on r2d-plus. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed