diff options
Diffstat (limited to 'cpukit/score/cpu/sparc64/rtems/score/cpu.h')
-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) |