summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300/rtems/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 17:16:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 17:16:50 +0000
commiteba52fd39d10a5182bd178e0a098611af93abcc3 (patch)
tree43a7ab2a193f3fe587f9a65e4f930a3103422711 /cpukit/score/cpu/h8300/rtems/score
parent2006-08-30 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-eba52fd39d10a5182bd178e0a098611af93abcc3.tar.bz2
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h:
Diffstat (limited to 'cpukit/score/cpu/h8300/rtems/score')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 498304ad8f..4156225393 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -626,6 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define _CPU_ISR_Disable( _isr_cookie ) \
do { \
+ _isr_cookie = 0; /* to avoid warnings */; \
asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : "=r" (_isr_cookie) : ); \
} while (0)