diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 12:47:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 12:47:19 +0000 |
commit | d3463aedfecf35b320ba4ed29982669ea511eb53 (patch) | |
tree | 78e96e80cde35984b79631af06b974fc56a73bcc /c/src/lib/libbsp/powerpc/score603e/console | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d3463aedfecf35b320ba4ed29982669ea511eb53.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* PCI_bus/PCI.c, console/console.c, include/bsp.h, include/tm27.h,
startup/Hwr_init.c, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/score603e/console')
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/console/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/console/console.c b/c/src/lib/libbsp/powerpc/score603e/console/console.c index 9aead3f686..392aa4a608 100644 --- a/c/src/lib/libbsp/powerpc/score603e/console/console.c +++ b/c/src/lib/libbsp/powerpc/score603e/console/console.c @@ -415,13 +415,13 @@ debug_putc_onlcr(const char c) if ('\n'==c){ rtems_interrupt_disable( isrlevel ); outbyte_polled_85c30( csr, '\r' ); - asm volatile("isync"); + __asm__ volatile("isync"); rtems_interrupt_enable( isrlevel ); } rtems_interrupt_disable( isrlevel ); outbyte_polled_85c30( csr, c ); - asm volatile("isync"); + __asm__ volatile("isync"); rtems_interrupt_enable( isrlevel ); } |