userspace: rename _is_user_context -> k_is_user_context
This functions is being called across the tree, no reason why it should not be a public API. The current usage violates a few MISRA rules. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
25c87db860
commit
0ec3774bde
18 changed files with 26 additions and 26 deletions
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
*/
|
||||
|
||||
#define ARCH_EXCEPT(reason_p) do { \
|
||||
if (_is_user_context()) { \
|
||||
if (k_is_user_context()) { \
|
||||
arch_syscall_invoke1(reason_p, \
|
||||
K_SYSCALL_USER_FAULT); \
|
||||
} else { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue