From: Benjamin Herrenschmidt Date: Tue, 8 Nov 2005 00:21:05 +0000 (+1100) Subject: [PATCH] ppc64: Fix the lazy icache/dcache code for non-RAM pages X-Git-Tag: v2.6.15-rc1~421^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76c8e25b905f99be5ddbe999597ba7c2c33ec64b;p=pandora-kernel.git [PATCH] ppc64: Fix the lazy icache/dcache code for non-RAM pages For some stupid reason I can't explain (brown paper bag is at hand), I removed the check pfn_valid() in the code that does the icache/dcache coherency on POWER4 and later. That causes us to eventually try to access non existing struct page when hashing in IO pages. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed