diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:20:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:20:50 +0000 |
commit | 901ffaca0b28a402b8f6b669c49e48801abfbf85 (patch) | |
tree | 9fda8ad2d14fbdcb41ca8dfbdbded68669b397e0 /cpukit/score/cpu/m32c/rtems/score/cpu.h | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-901ffaca0b28a402b8f6b669c49e48801abfbf85.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* context_init.c, cpu.c, varvects.h, rtems/score/cpu.h,
rtems/score/m32c.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'cpukit/score/cpu/m32c/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/m32c/rtems/score/cpu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h index fbb115e4a7..4d75c0a930 100644 --- a/cpukit/score/cpu/m32c/rtems/score/cpu.h +++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h @@ -674,7 +674,7 @@ typedef struct { int _flg; \ m32c_get_flg( _flg ); \ _isr_cookie = _flg; \ - asm volatile( "fclr I" ); \ + __asm__ volatile( "fclr I" ); \ } while(0) /** @@ -712,7 +712,7 @@ typedef struct { do { \ int _flg = (int) (_isr_cookie); \ m32c_set_flg( _flg ); \ - asm volatile( "fclr I" ); \ + __asm__ volatile( "fclr I" ); \ } while(0) /** @@ -734,8 +734,8 @@ typedef struct { */ #define _CPU_ISR_Set_level( _new_level ) \ do { \ - if (_new_level) asm volatile( "fclr I" ); \ - else asm volatile( "fset I" ); \ + if (_new_level) __asm__ volatile( "fclr I" ); \ + else __asm__ volatile( "fset I" ); \ } while(0) /** |