kernel: renamespace z_is_in_isr()

This is part of the core kernel -> architecture interface
and is appropriately renamed z_arch_is_in_isr().

References from test cases changed to k_is_in_isr().

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-09-21 15:58:15 -07:00 committed by Anas Nashif
commit e1ec59f9c2
22 changed files with 31 additions and 31 deletions

View file

@ -43,7 +43,7 @@ void z_impl_k_thread_abort(k_tid_t thread)
z_thread_single_abort(thread);
z_thread_monitor_exit(thread);
if (thread == _current && !z_is_in_isr()) {
if (thread == _current && !z_arch_is_in_isr()) {
z_swap(&lock, key);
} else {
/* Really, there's no good reason for this to be a