]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/RVDS/ARM_CM4F/port.c
Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt...
[freertos] / FreeRTOS / Source / portable / RVDS / ARM_CM4F / port.c
index aaf9efd21ecf09e71c8158007709d99231bf6857..6902f97894dd513f91617dc6bfb8c66f1ef124f0 100644 (file)
@@ -479,9 +479,6 @@ __asm void xPortPendSVHandler( void )
        /* 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