forked from Imagelibrary/rtems
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Removed warning.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-10-31 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems/score/cpu.h: Removed warning.
|
||||
|
||||
2002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
|
||||
|
||||
@@ -565,7 +565,7 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
|
||||
|
||||
#define _CPU_ISR_Set_level( new_level ) \
|
||||
{ \
|
||||
int reg; \
|
||||
int reg = 0; /* to avoid warning */ \
|
||||
asm volatile ("MRS %0, cpsr \n" \
|
||||
"BIC %0, %0, #0xc0 \n" \
|
||||
"ORR %0, %0, %2 \n" \
|
||||
|
||||
Reference in New Issue
Block a user