summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/isr.inl
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/inline/rtems/score/isr.inl')
-rw-r--r--cpukit/score/inline/rtems/score/isr.inl4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl
index 605dfeeab5..a4e7866959 100644
--- a/cpukit/score/inline/rtems/score/isr.inl
+++ b/cpukit/score/inline/rtems/score/isr.inl
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2004.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -28,6 +28,7 @@
* @{
*/
+#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
/**
* This function returns true if the vector is a valid vector number
* for this processor and false otherwise.
@@ -51,6 +52,7 @@ RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler (
{
return (handler != NULL);
}
+#endif
/**@}*/