powerpc/8xx: use _PAGE_RO instead of _PAGE_RW
authorLEROY Christophe <christophe.leroy@c-s.fr>
Mon, 19 Jan 2015 16:04:44 +0000 (17:04 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 02:13:10 +0000 (20:13 -0600)
commitcadbfd01468663e8b9f9518a58ef67398a20d06b
tree89c1cb6d6573baa71005f5eebfe21b6716542967
parenta7b9f671f2d141528491c346e21e8a179cee9d21
powerpc/8xx: use _PAGE_RO instead of _PAGE_RW

On powerpc 8xx, in TLB entries, 0x400 bit is set to 1 for read-only pages
and is set to 0 for RW pages. So we should use _PAGE_RO instead of _PAGE_RW

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/include/asm/pte-8xx.h
arch/powerpc/kernel/head_8xx.S