[PATCH] x86: Improve handling of kernel mappings in change_page_attr
authorJan Beulich <jbeulich@novell.com>
Wed, 2 May 2007 17:27:10 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:10 +0000 (19:27 +0200)
commitd01ad8dd56527be72947b4b9997bb2c05783c3ed
tree4bb9ad792fae974101d0baec755202eebc8181aa
parent90a0a06aa81692028864c21f981905fda46b1208
[PATCH] x86: Improve handling of kernel mappings in change_page_attr

Fix various broken corner cases in i386 and x86-64 change_page_attr.

AK: split off from tighten kernel image access rights

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