]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/ARM_CM3/portasm.s
Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt...
[freertos] / FreeRTOS / Source / portable / IAR / ARM_CM3 / portasm.s
index 756602121dd670eca26f61ea2489d21de9b4262f..cf7a6a3a1bc5999352f98384a461c00d9b88ff19 100644 (file)
@@ -91,7 +91,6 @@ xPortPendSVHandler:
 \r
        stmdb r0!, {r4-r11}                             /* Save the remaining registers. */\r
        str r0, [r2]                                    /* Save the new top of stack into the first member of the TCB. */\r
-       clrex                                                   /* Ensure thread safety of atomic operations. */\r
 \r
        stmdb sp!, {r3, r14}\r
        mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r