diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:57:25 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 09:57:25 +0000 |
commit | 3d0af835baaeef051cdbd0f15fa86dc811c085ac (patch) | |
tree | 512111f287319ce5b7bc4b97858da48868cfb1ba /c/src/lib/libcpu/sh/sh7032/delay/delay.c | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3d0af835baaeef051cdbd0f15fa86dc811c085ac.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/delay/delay.c, sh7032/score/cpu_asm.c,
sh7032/score/ispsh7032.c, sh7045/sci/sci.c,
sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c,
sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c,
sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c,
shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/delay/delay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/delay/delay.c b/c/src/lib/libcpu/sh/sh7032/delay/delay.c index 16645ea200..26f2c4f7f6 100644 --- a/c/src/lib/libcpu/sh/sh7032/delay/delay.c +++ b/c/src/lib/libcpu/sh/sh7032/delay/delay.c @@ -43,7 +43,7 @@ void CPU_delay( uint32_t microseconds ) register uint32_t clicks_per_usec = bsp_clicks_per_second / 1000000; register uint32_t _delay = (microseconds) * (clicks_per_usec); - asm volatile ( + __asm__ volatile ( "0: add #-4,%0\n\ nop\n\ cmp/pl %0\n\ |