summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/bfin/rtems')
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index db3ff20617..0d4bbeb5b7 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -846,8 +846,8 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
*/
#define _CPU_ISR_Disable( _level ) \
{ \
- asm volatile ("cli %0 \n" \
- : "=r" (_level) ); \
+ asm volatile ("cli %0 \n" \
+ : "=d" (_level) ); \
\
}
@@ -865,9 +865,9 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
* XXX document implementation including references if appropriate
*/
#define _CPU_ISR_Enable( _level ) \
- { \
- asm volatile ("STI %0" \
- : : "r" (_level) ); \
+ { \
+ asm volatile ("STI %0 \n" \
+ : : "d" (_level) ); \
}
/**