bsps/powerpc: Fix assembler warnings

Use numeric value of cr0 to fix the following warnings:

ppc_exc_asm_macros.h: Assembler messages:
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730:  Info: macro invoked from here
ppc_exc.S:134:   Info: macro invoked from here
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730:  Info: macro invoked from here
ppc_exc.S:137:   Info: macro invoked from here
This commit is contained in:
Sebastian Huber
2025-08-12 08:07:14 +02:00
parent a9e131706c
commit e74e5e1644

View File

@@ -239,7 +239,7 @@ TEST_LOCK_crit_done_\_FLVR:
* EQ(CR_LOCK) = (ppc_exc_lock_std == 0) && ! (*pc == <write std lock instruction>)
* }
*/
crandc EQ(CR_LOCK), EQ(CR_LOCK), EQ(cr0)
crandc EQ(CR_LOCK), EQ(CR_LOCK), EQ(0 /* cr0 */)
.endm