arches: use new kernel APIs

Change-Id: I4b6f5264d5295ebf4278991a1f4e2141bef6602f
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-11-09 11:10:21 -08:00 committed by Anas Nashif
commit 56f561e15e
7 changed files with 40 additions and 113 deletions

View file

@ -117,8 +117,7 @@ static void _FaultThreadShow(const NANO_ESF *esf)
{
PR_EXC(" Executing thread ID (thread): %p\n"
" Faulting instruction address: 0x%" PRIx32 "\n",
sys_thread_self_get(),
esf->pc);
k_current_get(), esf->pc);
}
#if !defined(CONFIG_CPU_CORTEX_M0_M0PLUS)