diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:24:09 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:24:09 +0000 |
commit | 3631c234d87298206aa416ead3e4001342233f78 (patch) | |
tree | 169585d83c55d911a00363b3e2ceed9e986ecffa /cpukit/score/cpu/powerpc/rtems/score/cpu.h | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3631c234d87298206aa416ead3e4001342233f78.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/powerpc/registers.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 9e15553092..b076f7e87d 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -666,7 +666,7 @@ static inline uint32_t CPU_swap_u32( { uint32_t swapped; - asm volatile("rlwimi %0,%1,8,24,31;" + __asm__ volatile("rlwimi %0,%1,8,24,31;" "rlwimi %0,%1,24,16,23;" "rlwimi %0,%1,8,8,15;" "rlwimi %0,%1,24,0,7;" : @@ -817,7 +817,7 @@ void _CPU_Context_Initialize( #define _CPU_Bitfield_Find_first_bit( _value, _output ) \ { \ - asm volatile ("cntlzw %0, %1" : "=r" ((_output)), "=r" ((_value)) : \ + __asm__ volatile ("cntlzw %0, %1" : "=r" ((_output)), "=r" ((_value)) : \ "1" ((_value))); \ } |