commit | 8a13c4f972e6c107d8cff54de647544c00e25b41 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Thu Oct 11 13:36:52 2007 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Thu Oct 11 13:36:52 2007 -0500 |
tree | bd1e291a935fe8420b270d0a4f8e9d3b7a8e1bd1 | |
parent | f5d7d13cd96313a90f8d13fa5d6e0704f6d534ba [diff] |
[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>