[PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-12 Thread Philippe Gerum
Fix _PAGE_CHG_MASK so that pte_modify() does not affect the _PAGE_SPECIAL bit. Signed-off-by: Philippe Gerum -- arch/powerpc/include/asm/pgtable-4k.h|2 +- arch/powerpc/include/asm/pgtable-64k.h |2 +- arch/powerpc/include/asm/pgtable-ppc32.h |4 ++-- 3 files changed, 4

Re: [PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-13 Thread Philippe Gerum
Benjamin Herrenschmidt wrote: > On Fri, 2009-02-13 at 13:49 +1100, Benjamin Herrenschmidt wrote: > >>> diff --git a/arch/powerpc/include/asm/pgtable-ppc32.h >>> b/arch/powerpc/include/asm/pgtable-ppc32.h >>> index 75dded6..8298afc 100644 >>> --- a/arch/powerpc/include/asm/pgtable-ppc32.h >>> +++