From: Steve Capper Date: Fri, 8 Feb 2013 15:01:18 +0000 (+0200) Subject: ARM: mm: correct pte_same behaviour for LPAE. X-Git-Tag: sz_154~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fed9ffac3af28d938fa63aba6e66aa9d6f65223;p=pandora-kernel.git ARM: mm: correct pte_same behaviour for LPAE. For 3 levels of paging the PTE_EXT_NG bit will be set for user address ptes that are written to a page table but not for ptes created with mk_pte. This can cause some comparison tests made by pte_same to fail spuriously and lead to other problems. To correct this behaviour, we mask off PTE_EXT_NG for any pte that is present before running the comparison. Signed-off-by: Will Deacon Signed-off-by: Steve Capper --- Reading git-diff-tree failed