arm: cmsis: Convert _ScbPendsvSet to use direct CMSIS register access

Jira: ZEP-1568

Change-Id: I25653d8fbe3842fbfa79191d388c6f6693fca39c
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-01-25 08:24:57 -06:00
commit 5068e9657f
2 changed files with 1 additions and 16 deletions

View file

@ -39,7 +39,7 @@ void k_thread_abort(k_tid_t thread)
_Swap(key);
CODE_UNREACHABLE;
} else {
_ScbPendsvSet();
SCB->ICSR |= SCB_ICSR_PENDSVSET_Msk;
}
}