When flags are READ WRITE SHARED the page is now PAGE_SHARED defined as : VALID | ACCESSED | DIRTY | READABLE | WRITABLE | ACCESSED instead of VALID | ACCESSED | SHARED Signed-off-by: Stany MARCEL <stany.marcel@xxxxxxxxxxxxxxxxxxxxxx> --- arch/m68k/include/asm/mcf_pgtable.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/m68k/include/asm/mcf_pgtable.h b/arch/m68k/include/asm/mcf_pgtable.h index 3c79368..a7f53eb 100644 --- a/arch/m68k/include/asm/mcf_pgtable.h +++ b/arch/m68k/include/asm/mcf_pgtable.h @@ -64,8 +64,10 @@ | CF_PAGE_ACCESSED) #define PAGE_SHARED __pgprot(CF_PAGE_VALID \ - | CF_PAGE_ACCESSED \ - | CF_PAGE_SHARED) + | CF_PAGE_DIRTY \ + | CF_PAGE_READABLE \ + | CF_PAGE_WRITABLE \ + | CF_PAGE_ACCESSED) #define PAGE_INIT __pgprot(CF_PAGE_VALID \ | CF_PAGE_READABLE \ @@ -124,10 +126,7 @@ | CF_PAGE_ACCESSED \ | CF_PAGE_READABLE) #define __S010 PAGE_SHARED -#define __S011 __pgprot(CF_PAGE_VALID \ - | CF_PAGE_ACCESSED \ - | CF_PAGE_SHARED \ - | CF_PAGE_READABLE) +#define __S011 PAGE_SHARED #define __S100 __pgprot(CF_PAGE_VALID \ | CF_PAGE_ACCESSED \ | CF_PAGE_EXEC) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html