]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix pte_exec/mkexec and use it in change_page_attr()
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
commitdf992848f5aa803fcacd2c5e7d67034bb89e3fa3
tree649ee5888f71bdd4243599f73d9725118262d368
parentd3cf7f061521c78ad62e275eb6fbdc8f43fc75a7
[PATCH] Fix pte_exec/mkexec and use it in change_page_attr()

Fix the pte_exec/mkexec page table accessor functions to really
use the NX bit. Previously they only checked the USER bit, but
weren't actually used for anything.

Then use them in change_page_attr() to manipulate the NX bit
properly.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/mm/pageattr.c
include/asm-x86_64/pgtable.h