]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/port.c
Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt...
[freertos] / FreeRTOS / Source / portable / RVDS / ARM_CM4_MPU / port.c
index 0623859e8417921b9ec8049671c7c78007ba353b..3cd92405651bef9e622790eb0e63fdf7201c53c2 100644 (file)
@@ -492,7 +492,6 @@ __asm void xPortPendSVHandler( void )
        mrs r1, control\r
        stmdb r0!, {r1, r4-r11, r14}    /* 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}\r
        mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r