[PATCH v4 1/2] powerpc32: adds handling of _PAGE_RO

2015-01-19 Thread Christophe Leroy
Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by: Christophe Leroy --- v2 is a complete rework of v1 v3: - cleared PTE can remain 0, no need of _PAGE_RO on

[PATCH v4 1/2] powerpc32: adds handling of _PAGE_RO

2015-01-19 Thread Christophe Leroy
Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2 is a complete rework of v1 v3: - cleared PTE can remain 0,