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)
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

Simple merge
Simple merge