<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-04-28)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-04-22 Sebastian Huber <Sebastian.Huber@embedded-brains.de>

        * support/include/tmacros.h: Changed check_dispatch_disable_level() to
        treat all non-zero values of _Thread_Dispatch_disable_level equally.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/ChangeLog.diff?r1=text&tr1=1.162&r2=text&tr2=1.163&diff_format=h">M</a></td><td width='1%'>1.163</td><td width='100%'>testsuites/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/support/include/tmacros.h.diff?r1=text&tr1=1.52&r2=text&tr2=1.53&diff_format=h">M</a></td><td width='1%'>1.53</td><td width='100%'>testsuites/support/include/tmacros.h</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-04-22    Sebastian Huber <Sebastian.Huber@embedded-brains.de>
+
+       * support/include/tmacros.h: Changed check_dispatch_disable_level() to
+       treat all non-zero values of _Thread_Dispatch_disable_level equally.
+
</font> 2009-12-08        Glenn Humphrey <glenn.humphrey@OARcorp.com>
 
        * support/include/test_support.h, support/include/tmacros.h,

<font color='#006600'>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
</font><font color='#997700'>@@ -47,7 +47,10 @@
</font>  */
 #define check_dispatch_disable_level( _expect ) \
   do { \
<font color='#880000'>-    if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \
</font><font color='#000088'>+    if ( (_expect) != -1 \
+           && ((_Thread_Dispatch_disable_level == 0 && (_expect) != 0) \
+             || (_Thread_Dispatch_disable_level != 0 && (_expect) == 0)) \
+    ) { \
</font>       printk( \
         "\n_Thread_Dispatch_disable_level is (%" PRId32 \
            ") not %d detected at %s:%d\n", \
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>