Skip to content
Commit 8a13c4f9 authored by Kumar Gala's avatar Kumar Gala
Browse files

[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: default avatarKumar Gala <galak@kernel.crashing.org>
parent f5d7d13c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment