summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 22:35:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 22:35:17 +0000
commit7df02840d5efc62e6471e3e1923fec7275246c77 (patch)
tree7d723626b923816f1549c4366a5be29c07d750fa
parentdabe72e9142330044c89bdd363dc6417cb7cb7ae (diff)
downloadrtems-7df02840d5efc62e6471e3e1923fec7275246c77.tar.bz2
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Removed warning.
-rw-r--r--cpukit/score/cpu/arm/ChangeLog4
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 041eddb183..7926afa82d 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -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.
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index 1c4d3e82a6..6d462a6bf5 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -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" \