summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:44:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:44:28 +0000
commit90b68014babfcd2f073c1174ee3b7d378002b309 (patch)
tree5f131ac3136f8a143cb36b9af06e8d3c87214b77 /c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-90b68014babfcd2f073c1174ee3b7d378002b309.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/discovery_pic.c, network/if_em/rtemscompat_defs.h, * network/if_gfe/rtemscompat_defs.h, startup/bspstart.c: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c b/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
index 55f0f421a4..9df047e032 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
@@ -233,7 +233,7 @@ void bsp_start( void )
* so there is no need to set it in r1 again... It is just for info
* so that it can be printed without accessing R1.
*/
- asm volatile("mr %0, 1":"=r"(stack));
+ __asm__ volatile("mr %0, 1":"=r"(stack));
/* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */