From: Will Deacon Date: Wed, 9 Jan 2013 11:08:10 +0000 (+0000) Subject: arm64: mm: only wrprotect clean ptes if they are present X-Git-Tag: v3.8-rc4~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02522463c84748b3b8ad770f9424bcfa70a5b4c4;p=pandora-kernel.git arm64: mm: only wrprotect clean ptes if they are present Marking non-present ptes as read-only can corrupt file ptes, breaking things like swap and file mappings. This patch ensures that we only manipulate user pte bits when the pte is marked present. Cc: Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed