]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c
Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt...
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CM7 / r0p1 / port.c
index 51d1c1a661a22b2d125565059bfb5461dea6f8f7..86fb9cc6bb3afcd6b9ddb465761c8f2d4513df80 100644 (file)
@@ -438,7 +438,6 @@ void xPortPendSVHandler( void )
        "                                                                               \n"\r
        "       stmdb r0!, {r4-r11, r14}                        \n" /* Save the core registers. */\r
        "       str r0, [r2]                                            \n" /* Save the new top of stack into the first member of the TCB. */\r
-       "       clrex                                                           \n" /* Ensure thread safety of atomic operations. */\r
        "                                                                               \n"\r
        "       stmdb sp!, {r3}                                         \n"\r
        "       mov r0, %0                                                      \n"\r