diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-26 09:07:02 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-26 09:07:02 +0000 |
commit | e63a784c8ad99e667aa741b853e47368fde7e200 (patch) | |
tree | 2426844649bca0efb48df48a19fc949b872081a7 /c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c | |
parent | 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c index b796ba4f94..57eed3f626 100644 --- a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c +++ b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c @@ -219,7 +219,7 @@ __CPU_Context_switch:\n\ mov.l r15,@-r4\n\ \n\ mov r5, r4" - :: "I" (sizeof(Context_Control)) + :: "i" (sizeof(Context_Control)) ); asm volatile("\n\ |