arch: arc: arm: sys_thread_self_get -> k_current_get

Change-Id: Iaa01b0d8733d76888524cfd258bacbd9c11142de
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-11-10 11:31:19 -05:00 committed by Benjamin Walsh
commit 7cac3b9625
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ void _FaultDump(const NANO_ESF *esf, int fault)
{
PR_EXC("Fault! EXC #%d, Thread: %p, instr @ 0x%" PRIx32 "\n",
fault,
sys_thread_self_get(),
k_current_get(),
esf->pc);
#if !defined(CONFIG_CPU_CORTEX_M0_M0PLUS)

View file

@ -116,7 +116,7 @@ FUNC_NORETURN void _NanoFatalErrorHandler(unsigned int reason,
"eax: 0x%x, ebx: 0x%x, ecx: 0x%x, edx: 0x%x\n"
"esi: 0x%x, edi: 0x%x, ebp: 0%x, esp: 0x%x\n"
"eflags: 0x%x\n",
sys_thread_self_get(),
k_current_get(),
pEsf->cs & 0xFFFF, pEsf->eip,
pEsf->eax, pEsf->ebx, pEsf->ecx, pEsf->edx,
pEsf->esi, pEsf->edi, pEsf->ebp, pEsf->esp,