]> git.baikalelectronics.ru Git - kernel.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)
commit6782108714532318403d2a939f7b1ffa72bb3233
tree649ee5888f71bdd4243599f73d9725118262d368
parent6745131c625044f50053f699f5978cbbd9b71f11
[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