diff options
Diffstat (limited to 'cpukit/score/cpu/h8300/cpu.c')
-rw-r--r-- | cpukit/score/cpu/h8300/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/h8300/cpu.c b/cpukit/score/cpu/h8300/cpu.c index 98ebf71563..1c82ee4880 100644 --- a/cpukit/score/cpu/h8300/cpu.c +++ b/cpukit/score/cpu/h8300/cpu.c @@ -53,7 +53,7 @@ uint32_t _CPU_ISR_Get_level( void ) #if defined(__H8300__) #warning "How do we get ccr on base CPU models" #else - asm volatile ( "stc ccr, %0" : "=m" (_ccr) : ); + __asm__ volatile ( "stc ccr, %0" : "=m" (_ccr) : ); #endif if ( _ccr & 0x80 ) @@ -152,7 +152,7 @@ void *_CPU_Thread_Idle_body( uintptr_t ignored ) for( ; ; ) IDLE_Monitor(); - /*asm(" sleep \n"); */ + /* __asm__ (" sleep \n"); */ /* insert your "halt" instruction here */ ; } #endif |