[patch 27/39] remap_file_pages protection support: fixups to ppc32 bits

2005-08-12 Thread blaisorblade
From: Paul Mackerras <[EMAIL PROTECTED]> When I tried -mm4 on a ppc32 box, it hit a BUG because I hadn't excluded _PAGE_FILE from the bits used for swap entries. While looking at that I realised that the pte_to_pgoff and pgoff_prot_to_pte macros were wrong for 4xx and 8xx (embedded) PPC chips, s

[patch 27/39] remap_file_pages protection support: fixups to ppc32 bits

2005-08-12 Thread blaisorblade
From: Paul Mackerras <[EMAIL PROTECTED]> When I tried -mm4 on a ppc32 box, it hit a BUG because I hadn't excluded _PAGE_FILE from the bits used for swap entries. While looking at that I realised that the pte_to_pgoff and pgoff_prot_to_pte macros were wrong for 4xx and 8xx (embedded) PPC chips, s