Skip to content
Commit 051168df authored by Chris Metcalf's avatar Chris Metcalf
Browse files

tile: don't assume user privilege is zero



Technically, user privilege is anything less than kernel
privilege.  We modify the existing user_mode() macro to have
this semantic (and use it in a couple of places it wasn't being
used before), and add an IS_KERNEL_EX1() macro to the assembly
code as well.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent 309272f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment