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 >>> +++

Re: [PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-12 Thread Benjamin Herrenschmidt
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 > > +++ b/arch/powerpc/include/asm/pgtable

Re: [PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-12 Thread Benjamin Herrenschmidt
On Thu, 2009-02-12 at 23:18 +0100, Philippe Gerum wrote: > Fix _PAGE_CHG_MASK so that pte_modify() does not affect the _PAGE_SPECIAL bit. > > Signed-off-by: Philippe Gerum Good catch ! Thanks ! Ben. > -- > > arch/powerpc/include/asm/pgtable-4k.h|2 +- > arch/powerpc/include/asm/pgtab

[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 inse