powerpc32: adds handling of _PAGE_RO
commita7b9f671f2d141528491c346e21e8a179cee9d21
authorLEROY Christophe <christophe.leroy@c-s.fr>
Mon, 19 Jan 2015 16:04:38 +0000 (19 17:04 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 02:11:51 +0000 (29 20:11 -0600)
tree963edf92d3bc966992c78c4fa94d368003f9b396
parentd2caa3cebda8b626336e100b80a0ed6f909dccab
powerpc32: adds handling of _PAGE_RO

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.leroy@c-s.fr>
[scottwood@freescale.com: fix whitespace]
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/include/asm/pgtable.h
arch/powerpc/include/asm/pte-common.h
arch/powerpc/mm/pgtable_32.c