summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-15 17:58:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-15 17:58:07 +0000
commit3bcc0d8913b40c1857920935dae4a6b1cec69be9 (patch)
treee85b34f47122ae83ef1eecdc10584c27e3589d54
parent64cc4bb5af9eaac1b1c9d30f675d7205bfcf99e5 (diff)
downloadrtems-3bcc0d8913b40c1857920935dae4a6b1cec69be9.tar.bz2
2001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu.c: Fix #ifdefs, add missing #endif.
-rw-r--r--c/src/exec/score/cpu/sh/ChangeLog4
-rw-r--r--c/src/exec/score/cpu/sh/cpu.c3
-rw-r--r--cpukit/score/cpu/sh/ChangeLog4
-rw-r--r--cpukit/score/cpu/sh/cpu.c3
4 files changed, 12 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/sh/ChangeLog b/c/src/exec/score/cpu/sh/ChangeLog
index af0a4b13c4..87525abb4e 100644
--- a/c/src/exec/score/cpu/sh/ChangeLog
+++ b/c/src/exec/score/cpu/sh/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * cpu.c: Fix #ifdefs, add missing #endif.
+
2001-10-12 Joel Sherrill <joel@OARcorp.com>
* asm.h, cpu.c, rtems.c, rtems/score/cpu.h, rtems/score/sh.h,
diff --git a/c/src/exec/score/cpu/sh/cpu.c b/c/src/exec/score/cpu/sh/cpu.c
index 31ba6cd0d9..b83292e304 100644
--- a/c/src/exec/score/cpu/sh/cpu.c
+++ b/c/src/exec/score/cpu/sh/cpu.c
@@ -157,7 +157,7 @@ void _CPU_ISR_install_raw_handler(
*
*/
-#if defined(sh1) || defined(sh2)
+#if defined(__sh1__) || defined(__sh2__)
void _CPU_ISR_install_vector(
unsigned32 vector,
proc_ptr new_handler,
@@ -190,6 +190,7 @@ void _CPU_ISR_install_vector(
}
#endif
}
+#endif /* _CPU_ISR_install_vector */
/*PAGE
*
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog
index af0a4b13c4..87525abb4e 100644
--- a/cpukit/score/cpu/sh/ChangeLog
+++ b/cpukit/score/cpu/sh/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * cpu.c: Fix #ifdefs, add missing #endif.
+
2001-10-12 Joel Sherrill <joel@OARcorp.com>
* asm.h, cpu.c, rtems.c, rtems/score/cpu.h, rtems/score/sh.h,
diff --git a/cpukit/score/cpu/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index 31ba6cd0d9..b83292e304 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -157,7 +157,7 @@ void _CPU_ISR_install_raw_handler(
*
*/
-#if defined(sh1) || defined(sh2)
+#if defined(__sh1__) || defined(__sh2__)
void _CPU_ISR_install_vector(
unsigned32 vector,
proc_ptr new_handler,
@@ -190,6 +190,7 @@ void _CPU_ISR_install_vector(
}
#endif
}
+#endif /* _CPU_ISR_install_vector */
/*PAGE
*