From: Dave Kleikamp Date: Wed, 9 Jul 2008 15:28:07 +0000 (+1000) Subject: powerpc: Remove unnecessary condition when sanity-checking WIMG bits X-Git-Tag: v2.6.27-rc1~1058^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=443dcac4d89622cbfc61f53523007979879d6f8e;p=pandora-kernel.git powerpc: Remove unnecessary condition when sanity-checking WIMG bits It is okay for both _PAGE_GUARDED and _PAGE_COHERENT (G and M) to be set in the same pte. In fact, even if that were not the case, there doesn't seem to be any place where G is set without also setting I (_PAGE_NO_CACHE), so the test for I is sufficient as a condition to clear _PAGE_COHERENT when filling the hash table. Signed-off-by: Dave Kleikamp Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed