From: Aneesh Kumar K.V Date: Sun, 28 Apr 2013 09:37:34 +0000 (+0000) Subject: powerpc: Use encode avpn where we need only avpn values X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~66^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f227b22897e0db52a58f8f634e9ce6f67cc652;p=pandora-kernel.git powerpc: Use encode avpn where we need only avpn values In all these cases we are doing something similar to HPTE_V_COMPARE(hpte_v, want_v) which ignores the HPTE_V_LARGE bit With MPSS support we would need actual page size to set HPTE_V_LARGE bit and that won't be available in most of these cases. Since we are ignoring HPTE_V_LARGE bit, use the avpn value instead. There should not be any change in behaviour after this patch. Acked-by: Paul Mackerras Signed-off-by: Aneesh Kumar K.V Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed