change log for rtems (2010-04-28)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Apr 28 17:11:34 UTC 2010


 *joel*:
2010-04-22	Sebastian Huber <Sebastian.Huber at embedded-brains.de>

	* support/include/tmacros.h: Changed check_dispatch_disable_level() to
	treat all non-zero values of _Thread_Dispatch_disable_level equally.

M  1.163  testsuites/ChangeLog
M   1.53  testsuites/support/include/tmacros.h

diff -u rtems/testsuites/ChangeLog:1.162 rtems/testsuites/ChangeLog:1.163
--- rtems/testsuites/ChangeLog:1.162	Tue Dec  8 15:39:21 2009
+++ rtems/testsuites/ChangeLog	Wed Apr 28 11:37:20 2010
@@ -1,3 +1,8 @@
+2010-04-22	Sebastian Huber <Sebastian.Huber at embedded-brains.de>
+
+	* support/include/tmacros.h: Changed check_dispatch_disable_level() to
+	treat all non-zero values of _Thread_Dispatch_disable_level equally.
+
 2009-12-08	Glenn Humphrey <glenn.humphrey at OARcorp.com>
 
 	* support/include/test_support.h, support/include/tmacros.h,

diff -u rtems/testsuites/support/include/tmacros.h:1.52 rtems/testsuites/support/include/tmacros.h:1.53
--- rtems/testsuites/support/include/tmacros.h:1.52	Tue Dec  8 15:39:21 2009
+++ rtems/testsuites/support/include/tmacros.h	Wed Apr 28 11:37:20 2010
@@ -47,7 +47,10 @@
  */
 #define check_dispatch_disable_level( _expect ) \
   do { \
-    if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \
+    if ( (_expect) != -1 \
+           && ((_Thread_Dispatch_disable_level == 0 && (_expect) != 0) \
+             || (_Thread_Dispatch_disable_level != 0 && (_expect) == 0)) \
+    ) { \
       printk( \
         "\n_Thread_Dispatch_disable_level is (%" PRId32 \
            ") not %d detected at %s:%d\n", \



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100428/a3dd7864/attachment-0001.html>


More information about the vc mailing list