diff options
-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 ]; /* |