---
cpukit/score/include/rtems/score/assert.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cpukit/score/include/rtems/score/assert.h
b/cpukit/score/include/rtems/score/assert.h
index 43ec2d0..6308378 100644
--- a/cpukit/score/include/rtems/score/assert.h
+++ b/cpukit/score/include/rtems/score/assert.h
@@ -83,6 +83,15 @@ extern "C" {
#endif
/**
+ * @brief Like _Assert(), but only armed if RTEMS_SMP is defined.
+ */
+#if defined( RTEMS_SMP )
+ #define _SMP_Assert( _e ) _Assert( _e )
+#else
+ #define _SMP_Assert( _e ) ( ( void ) 0 )
+#endif
+
+/**
* @brief Returns true if thread dispatching is allowed.
*
* Thread dispatching can be repressed via _Thread_Disable_dispatch() or
--
1.8.4.5
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel