summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-18 22:01:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-18 22:01:39 +0000
commit159f41c4978a3f166a0d62795089cb89595e108e (patch)
tree09854d28de5d71e5fce0c856026e00b84ef8119c /cpukit
parent2011-04-16 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-159f41c4978a3f166a0d62795089cb89595e108e.tar.bz2
2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/score/sparc.h: Remove warnings.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/sparc/ChangeLog4
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/sparc.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog
index 7978cfc23c..84f0ba2277 100644
--- a/cpukit/score/cpu/sparc/ChangeLog
+++ b/cpukit/score/cpu/sparc/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * rtems/score/sparc.h: Remove warnings.
+
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/sparc.h:
diff --git a/cpukit/score/cpu/sparc/rtems/score/sparc.h b/cpukit/score/cpu/sparc/rtems/score/sparc.h
index 9aefb20f4a..1b580de9da 100644
--- a/cpukit/score/cpu/sparc/rtems/score/sparc.h
+++ b/cpukit/score/cpu/sparc/rtems/score/sparc.h
@@ -212,10 +212,8 @@ void sparc_enable_interrupts(uint32_t);
#define sparc_flash_interrupts( _level ) \
do { \
- register uint32_t _ignored = 0; \
- \
sparc_enable_interrupts( (_level) ); \
- _ignored = sparc_disable_interrupts(); \
+ _level = sparc_disable_interrupts(); \
} while ( 0 )
#define sparc_get_interrupt_level( _level ) \