summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/intrcatch.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-05 15:36:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-05 15:36:49 +0000
commit2b3692d3155bac0e02a968eb0d1f5f108f9dd470 (patch)
treece90d898a4456909019c70201ae115fdfacf361e /cpukit/rtems/src/intrcatch.c
parent2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-2b3692d3155bac0e02a968eb0d1f5f108f9dd470.tar.bz2
2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/intr.h, rtems/src/intrcatch.c: Disable rtems_interrupt_catch on targets which do not use the simple vectored interrupt model.
Diffstat (limited to 'cpukit/rtems/src/intrcatch.c')
-rw-r--r--cpukit/rtems/src/intrcatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/rtems/src/intrcatch.c b/cpukit/rtems/src/intrcatch.c
index ae54008d1d..dc3f1d4684 100644
--- a/cpukit/rtems/src/intrcatch.c
+++ b/cpukit/rtems/src/intrcatch.c
@@ -21,6 +21,8 @@
#include <rtems/score/isr.h>
#include <rtems/rtems/intr.h>
+#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
+
/* rtems_interrupt_catch
*
* This directive allows a thread to specify what action to take when
@@ -56,3 +58,4 @@ rtems_status_code rtems_interrupt_catch(
return RTEMS_SUCCESSFUL;
}
+#endif