diff --git a/bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h b/bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h index 69fcde19c6..ac38aad831 100644 --- a/bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h +++ b/bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h @@ -239,7 +239,7 @@ TEST_LOCK_crit_done_\_FLVR: * EQ(CR_LOCK) = (ppc_exc_lock_std == 0) && ! (*pc == ) * } */ - crandc EQ(CR_LOCK), EQ(CR_LOCK), EQ(cr0) + crandc EQ(CR_LOCK), EQ(CR_LOCK), EQ(0 /* cr0 */) .endm