]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
authorKumar Gala <galak@kernel.crashing.org>
Thu, 11 Oct 2007 18:36:52 +0000 (13:36 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 11 Oct 2007 18:36:52 +0000 (13:36 -0500)
commit25d8c9c9daa7c6c0f1465284801c4efef7a0b4a4
treebd1e291a935fe8420b270d0a4f8e9d3b7a8e1bd1
parent9c926e9c61d7e78cdb7bb0af5bcebf903dde716e
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers

Move to using PAGE_OFFSET instead of TASK_SIZE or KERNELBASE value on
6xx/40x/44x/fsl-booke to determine if the faulting address is a kernel or
user space address.  This mimics how the macro is_kernel_addr() works.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/head_40x.S
arch/powerpc/kernel/head_44x.S
arch/powerpc/kernel/head_fsl_booke.S