diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 13:05:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 13:05:24 +0000 |
commit | 051f1c452504979bee0e029a123cab975c35def8 (patch) | |
tree | 408c0206036618a03b440f7e43fda88556a8ffef /c/src | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-051f1c452504979bee0e029a123cab975c35def8.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc55xx/include/mpc55xx.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'c/src')
-rw-r--r-- | c/src/lib/libcpu/powerpc/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index 16d3d312e9..a81252e311 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,5 +1,10 @@ 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> + * mpc55xx/include/mpc55xx.h: + Use "__asm__" instead of "asm" for improved c99-compliance. + +2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> + * mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h: Fix up comments having been broken in previous commit. diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h index 80f1ce32b8..4cd6abab8b 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h +++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h @@ -94,7 +94,7 @@ static inline size_t mpc55xx_cache_aligned_size( const void *s, size_t n) static inline uint32_t mpc55xx_count_leading_zeros( uint32_t value) { uint32_t count; - asm ( + __asm__ ( "cntlzw %0, %1;" : "=r" (count) : "r" (value) |