summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-29 21:53:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-29 21:53:25 +0000
commitcd12590b7f237e1633ab85dfbafe99e7bb80cba4 (patch)
treeeb08566e4d36c33885491cf39534a6acfb042b87 /cpukit/score/cpu/h8300/rtems/score/cpu.h
parent2006-08-29 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-cd12590b7f237e1633ab85dfbafe99e7bb80cba4.tar.bz2
2006-08-29 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Correct inline assembly constraints.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index c7f3b3c77b..498304ad8f 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -626,7 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define _CPU_ISR_Disable( _isr_cookie ) \
do { \
- asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : : "r" (_isr_cookie) ); \
+ asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : "=r" (_isr_cookie) : ); \
} while (0)