[POWERPC] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses
authorScott Wood <scottwood@freescale.com>
Wed, 5 Sep 2007 22:04:38 +0000 (08:04 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Sep 2007 15:33:23 +0000 (01:33 +1000)
commitbde6c6e16aa489ea76c762fb7ffb0abb48660dd8
tree147f59710f6026c174685758b0d6764fcea12e84
parent96ebc3bfb6ddedd5a400d5653b50551d5a3de439
[POWERPC] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses

Previously, the TLB miss handlers assumed that pages above KERNELBASE are
always present and read/write.  This assumption is false in the case of
CONFIG_DEBUG_PAGEALLOC.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_32.S