Xtensa port: Replaced call to legacy sys_thread_self_get by one to k_current_get

Change-Id: I341f6bde6f6956c9ce521c4346894ee893b8e9ae
Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
This commit is contained in:
Mazen NEIFER 2017-01-27 19:39:43 +01:00 committed by Andrew Boie
commit 6fb67ed1ac

View file

@ -56,7 +56,7 @@ void _NanoFatalErrorHandler(unsigned int reason, const NANO_ESF *pEsf)
}
PR_EXC("Current thread ID = 0x%x\n"
"Faulting instruction address = 0x%x\n",
sys_thread_self_get(),
k_current_get(),
pEsf->pc);
/*
* Now that the error has been reported, call the user implemented