diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 08:52:39 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 08:52:39 +0000 |
commit | e4a2a21f8da1c78ba4a801138b596cf26231888c (patch) | |
tree | 41149c9a07c68dee050d8726d6c1fa3cff64fa9b /cpukit/score/cpu/sparc/rtems/score/cpu.h | |
parent | 2010-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e4a2a21f8da1c78ba4a801138b596cf26231888c.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/sparc.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'cpukit/score/cpu/sparc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index 3f2311fdfe..ddc5badfe5 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -770,7 +770,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) /* @@ -822,7 +822,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) |