powerpc/mm: Fix _PAGE_CHG_MASK to protect _PAGE_SPECIAL
authorPhilippe Gerum <rpm@xenomai.org>
Thu, 12 Feb 2009 12:18:46 +0000 (12:18 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Feb 2009 05:37:44 +0000 (16:37 +1100)
commitfbc78b07ba53ace155f27491c81a009e541a93ad
treea30f2a0f7f732a78d200c0ef00e0c40382f6f071
parentb578f3fcca1e78624dfb5f358776e63711d7fda2
powerpc/mm: Fix _PAGE_CHG_MASK to protect _PAGE_SPECIAL

Fix _PAGE_CHG_MASK so that pte_modify() does not affect the _PAGE_SPECIAL bit.

Signed-off-by: Philippe Gerum <rpm@xenomai.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable-4k.h
arch/powerpc/include/asm/pgtable-64k.h
arch/powerpc/include/asm/pgtable-ppc32.h