Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt entry.

This commit is contained in:
Richard Barry 2016-06-28 10:39:25 +00:00
parent c296e2cff8
commit bdbf347c22
14 changed files with 0 additions and 25 deletions

View file

@ -492,7 +492,6 @@ __asm void xPortPendSVHandler( void )
mrs r1, control
stmdb r0!, {r1, r4-r11, r14} /* Save the remaining registers. */
str r0, [r2] /* Save the new top of stack into the first member of the TCB. */
clrex /* Ensure thread safety of atomic operations. */
stmdb sp!, {r3}
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY