commit | 051168df528fe4456d63f5f65b041c147c26fe97 | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@tilera.com> | Tue Sep 03 14:45:52 2013 -0400 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Tue Sep 03 14:45:52 2013 -0400 |
tree | 789109ca42db49bf4d8c0c2794cf55659a171a39 | |
parent | 309272f99f3e65b9bb5c49a2901c63a1859172f3 [diff] |
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: Chris Metcalf <cmetcalf@tilera.com>