diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-23 05:47:27 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-23 05:47:27 +0000 |
commit | a4f912416876c533895833e2739e34a283dfeb3d (patch) | |
tree | 488eaff724ca9849fb88b15662544af36ed8e5c7 | |
parent | 2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a4f912416876c533895833e2739e34a283dfeb3d.tar.bz2 |
2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c: Warning removal.
-rw-r--r-- | cpukit/score/cpu/sh/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sh/cpu.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 64b67f127f..cf72fb6ace 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,7 @@ +2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org> + + * cpu.c: Warning removal. + 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> * context.c, cpu.c: Add include of config.h diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c index 78d0700eee..2adb185126 100644 --- a/cpukit/score/cpu/sh/cpu.c +++ b/cpukit/score/cpu/sh/cpu.c @@ -146,7 +146,9 @@ void _CPU_ISR_install_vector( proc_ptr *old_handler ) { +#if defined(__sh1__) || defined(__sh2__) proc_ptr ignored ; +#endif *old_handler = _ISR_Vector_table[ vector ]; /* |