[PATCH] ppc64: Fix the lazy icache/dcache code for non-RAM pages
commit76c8e25b905f99be5ddbe999597ba7c2c33ec64b
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 Nov 2005 00:21:05 +0000 (8 11:21 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 Nov 2005 02:07:50 +0000 (8 13:07 +1100)
treec6d13a7064534116ef1c8c22021d8949d32393cc
parentb354cab0763080df3735dcd0c64a545f266cc9e2
[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 <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c