summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7032
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-26 09:07:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-26 09:07:02 +0000
commite63a784c8ad99e667aa741b853e47368fde7e200 (patch)
tree2426844649bca0efb48df48a19fc949b872081a7 /c/src/lib/libcpu/sh/sh7032
parent2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-e63a784c8ad99e667aa741b853e47368fde7e200.tar.bz2
2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c, sh7750/score/cpu_asm.c: Use asm constraint "i" instead of "I" to pass sizeof(Context_Control) to context switch.
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7032')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
index f5a8b50a8d..5c3d4d21c7 100644
--- a/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
@@ -220,7 +220,7 @@ asm volatile(
" mov.l r15,@-r4\n"
" mov r5, r4\n"
- :: "I" (sizeof(Context_Control))
+ :: "i" (sizeof(Context_Control))
);
asm volatile(