From: David S. Miller Date: Mon, 12 Oct 2009 10:20:57 +0000 (-0700) Subject: sparc64: Fix D-cache flushing on swapin from SW devices. X-Git-Tag: v2.6.32-rc5~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a78cedb998027ed46d8630b319db8fa678d38f0;p=pandora-kernel.git sparc64: Fix D-cache flushing on swapin from SW devices. Thanks to tip form ARM folks and Russell King. If flush_dcache_page() occurs on a swapin it will have a mapping and we'll try to defer the flush by setting the dirty bit. But when it hits update_dcache_page() we won't flush because the page won't have a mapping any more. So remove the mapping requirement in flush_dcache(). Signed-off-by: David S. Miller --- Reading git-diff-tree failed