From: bibo,mao Date: Sat, 21 Oct 2006 16:37:02 +0000 (+0200) Subject: [PATCH] x86-64: x86_64 add NX mask for PTE entry X-Git-Tag: v2.6.19-rc3~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a71cef780404e8c90d23b1131142e158d94354b;p=pandora-kernel.git [PATCH] x86-64: x86_64 add NX mask for PTE entry If function change_page_attr_addr calls revert_page to revert to original pte value, mk_pte_phys does not mask NX bit. If NX bit is set on no NX hardware supported x86_64 machine, there is will be RSVD type page fault and system will crash. This patch adds NX mask bit for PTE entry. Signed-off-by: bibo,mao Signed-off-by: Andi Kleen --- Reading git-diff-tree failed