summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 22:19:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 22:19:31 +0000
commit849195615bb8ca90ecce71e769e5eba5eb1f2458 (patch)
tree59e49de9c964b12537ae34fe2a21d401e6c7743b /cpukit/score/cpu
parent2002-11-04 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-849195615bb8ca90ecce71e769e5eba5eb1f2458.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed warning.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r--cpukit/score/cpu/arm/ChangeLog4
-rw-r--r--cpukit/score/cpu/arm/cpu.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 1fdad4b602..741331eb75 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-04 Joel Sherrill <joel@OARcorp.com>
+
+ * cpu.c: Removed warning.
+
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed warnings.
diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c
index 3ae0df2474..96329200fb 100644
--- a/cpukit/score/cpu/arm/cpu.c
+++ b/cpukit/score/cpu/arm/cpu.c
@@ -50,7 +50,7 @@ void _CPU_Initialize(
unsigned32 _CPU_ISR_Get_level( void )
{
- unsigned32 reg;
+ unsigned32 reg = 0; /* to avoid warning */
asm volatile ("mrs %0, cpsr \n" \
"and %0, %0, #0xc0 \n" \