summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/sh/cpu.c')
-rw-r--r--cpukit/score/cpu/sh/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index 2adb185126..f6f85e3c4c 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -113,7 +113,7 @@ void _CPU_ISR_install_raw_handler(
#endif
/* get vbr */
- asm ( "stc vbr,%0" : "=r" (vbr) );
+ __asm__ ( "stc vbr,%0" : "=r" (vbr) );
*old_handler = vbr[vector] ;
vbr[vector] = new_handler ;
@@ -191,7 +191,7 @@ void *_CPU_Thread_Idle_body( uintptr_t ignored )
for( ; ; )
{
- asm volatile("nop");
+ __asm__ volatile("nop");
}
/* insert your "halt" instruction here */ ;
}