From: Denis Kirjanov Date: Tue, 23 Jul 2013 11:28:03 +0000 (+0400) Subject: powerpc/pseries: Fix a typo in pSeries_lpar_hpte_insert() X-Git-Tag: v3.11-rc3~18^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad92c615975a57c4b206c5c99f77a0bf22b373c4;p=pandora-kernel.git powerpc/pseries: Fix a typo in pSeries_lpar_hpte_insert() Commit 801eb73f45371accc78ca9d6d22d647eeb722c11 introduced a bug while checking PTE flags. We have to drop the _PAGE_COHERENT flag when __PAGE_NO_CACHE is set and the cache update policy is not write-through (i.e. _PAGE_WRITETHRU is not set) Signed-off-by: Denis Kirjanov Reviewed-by: Aneesh Kumar K.V CC: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed