diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:11:57 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:11:57 +0000 |
commit | 566fa34827ac7c6438926e3c36797c41d7c7c90f (patch) | |
tree | fc2383b3ae936528ad0b8a7ee51c298f46275564 /cpukit/score/cpu/bfin/rtems/score/cpu.h | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-566fa34827ac7c6438926e3c36797c41d7c7c90f.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/bfin/rtems/score/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h index eef8b875ae..9974212018 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h @@ -710,7 +710,7 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; */ #define _CPU_ISR_Disable( _level ) \ { \ - asm volatile ("cli %0; csync \n" : "=d" (_level) ); \ + __asm__ volatile ("cli %0; csync \n" : "=d" (_level) ); \ } @@ -910,7 +910,7 @@ void _CPU_Context_Initialize( */ #define _CPU_Fatal_halt( _error ) \ { \ - asm volatile ( "cli R1; \ + __asm__ volatile ( "cli R1; \ R1 = %0; \ _halt: \ idle; \ @@ -1015,7 +1015,7 @@ void _CPU_Context_Initialize( #if (CPU_USE_GENERIC_BITFIELD_CODE == FALSE) #define _CPU_Bitfield_Find_first_bit( _value, _output ) \ { \ - asm ("bit(1);"): + __asm__ ("bit(1);"): (_output) = 0; /* do something to prevent warnings */ \ } #endif |