forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user