diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:25:21 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:25:21 +0000 |
commit | d00ca429313dd2bcf13f12c14e6c93a3a948f2b6 (patch) | |
tree | 72d87f878f0d1155ef4e0557d622452e1c8dfd82 /cpukit/score/cpu/sparc64/rtems/score/cpu.h | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d00ca429313dd2bcf13f12c14e6c93a3a948f2b6.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/sparc64.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/sparc64/rtems/score/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h index 0d684ea1b5..3b424f8b74 100644 --- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h @@ -844,7 +844,7 @@ void _CPU_Context_Initialize( #define _CPU_Context_Initialization_at_thread_begin() \ do { \ - asm volatile ("set _Thread_Handler,%%i7\n"::); \ + __asm__ volatile ("set _Thread_Handler,%%i7\n"::); \ } while (0) /* @@ -896,7 +896,7 @@ void _CPU_Context_Initialize( uint32_t level; \ \ level = sparc_disable_interrupts(); \ - asm volatile ( "mov %0, %%g1 " : "=r" (level) : "0" (level) ); \ + __asm__ volatile ( "mov %0, %%g1 " : "=r" (level) : "0" (level) ); \ while (1); /* loop forever */ \ } while (0) |