summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/context.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 08:56:10 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 08:56:10 +0000
commit05d72d5e0963d866ba998b86e1af2d4f7e69ba82 (patch)
tree444e0b0cf69e85cbcaccd98df6ccd6e7883c5ccf /cpukit/score/cpu/sh/context.c
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-05d72d5e0963d866ba998b86e1af2d4f7e69ba82.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* context.c, cpu.c, rtems/score/cpu.h, rtems/score/sh.h: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'cpukit/score/cpu/sh/context.c')
-rw-r--r--cpukit/score/cpu/sh/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sh/context.c b/cpukit/score/cpu/sh/context.c
index 87ab81e46a..ddeb4874d3 100644
--- a/cpukit/score/cpu/sh/context.c
+++ b/cpukit/score/cpu/sh/context.c
@@ -201,7 +201,7 @@ __CPU_Context_switch:\n\
:: "i" (sizeof(Context_Control))
);
- asm volatile("\n\
+ __asm__ volatile("\n\
.global __CPU_Context_restore\n\
__CPU_Context_restore:\n\
mov.l @r4+,r15\n\