]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/ARM_CM4F/portasm.s
Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt...
[freertos] / FreeRTOS / Source / portable / IAR / ARM_CM4F / portasm.s
index a6e07773db658e5062a65924e77cc67081893f76..758d6fa9718a7a65fe516403b289a0c299a4ad11 100644 (file)
@@ -101,9 +101,6 @@ xPortPendSVHandler:
        /* Save the new top of stack into the first member of the TCB. */\r
        str r0, [r2]\r
 \r
-       /* Ensure thread safety of atomic operations. */\r
-       clrex\r
-\r
        stmdb sp!, {r3}\r
        mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
        msr basepri, r0\r