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:
Anas Nashif 2021-03-27 12:03:18 -04:00
commit 0ec3774bde
18 changed files with 26 additions and 26 deletions

View file

@ -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 { \