change log for rtems (2011-01-20)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Jan 20 09:11:08 UTC 2011


 *sh*:
2011-01-20	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API
	violations.

M 1.2677  cpukit/ChangeLog
M    1.9  cpukit/libblock/src/show_bdbuf.c
M   1.28  cpukit/score/src/objectmp.c

diff -u rtems/cpukit/ChangeLog:1.2676 rtems/cpukit/ChangeLog:1.2677
--- rtems/cpukit/ChangeLog:1.2676	Mon Jan 17 17:05:36 2011
+++ rtems/cpukit/ChangeLog	Thu Jan 20 02:16:14 2011
@@ -1,3 +1,8 @@
+2011-01-20	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API
+	violations.
+
 2011-01-17	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* libmisc/shell/main_dd.c: Make symbol unique to avoid conflict with

diff -u rtems/cpukit/libblock/src/show_bdbuf.c:1.8 rtems/cpukit/libblock/src/show_bdbuf.c:1.9
--- rtems/cpukit/libblock/src/show_bdbuf.c:1.8	Sun Nov 29 07:35:32 2009
+++ rtems/cpukit/libblock/src/show_bdbuf.c	Thu Jan 20 02:16:15 2011
@@ -554,7 +554,7 @@
    */
   if (rc == RTEMS_SUCCESSFUL) {
     the_chain_head = &(the_bdbuf->transfer_sema.Wait_queue.Queues.Fifo);
-    the_chain_node = the_chain_head->first;
+    the_chain_node = _Chain_First(the_chain_head);
   }
   /*
    * walk through thread chain

diff -u rtems/cpukit/score/src/objectmp.c:1.27 rtems/cpukit/score/src/objectmp.c:1.28
--- rtems/cpukit/score/src/objectmp.c:1.27	Fri Jul  3 10:13:47 2009
+++ rtems/cpukit/score/src/objectmp.c	Thu Jan 20 02:16:15 2011
@@ -152,9 +152,9 @@
 
   the_chain = &information->global_table[ _Objects_Get_node( the_id ) ];
 
-  for ( the_node = the_chain->first ;
+  for ( the_node = _Chain_First( the_chain ) ;
         !_Chain_Is_tail( the_chain, the_node ) ;
-        the_node = the_node->next ) {
+        the_node = _Chain_Next( the_node ) ) {
 
     the_object = (Objects_MP_Control *) the_node;
 
@@ -224,9 +224,9 @@
     if ( !_Objects_Is_local_node( node_index ) ) {
       the_chain = &information->global_table[ node_index ];
 
-      for ( the_node = the_chain->first ;
+      for ( the_node = _Chain_First( the_chain ) ;
             !_Chain_Is_tail( the_chain, the_node ) ;
-            the_node = the_node->next ) {
+            the_node = _Chain_Next( the_node ) ) {
 
         the_object = (Objects_MP_Control *) the_node;
 
@@ -285,9 +285,9 @@
 
   the_chain = &information->global_table[ node ];
 
-  for ( the_node = the_chain->first ;
+  for ( the_node = _Chain_First( the_chain ) ;
         !_Chain_Is_tail( the_chain, the_node ) ;
-        the_node = the_node->next ) {
+        the_node = _Chain_Next( the_node ) ) {
 
     the_global_object = (Objects_MP_Control *) the_node;
 



--

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/20110120/c9be8728/attachment.html>


More information about the vc mailing list