change log for rtems (2011-04-18)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Apr 18 22:10:47 UTC 2011


 *joel*:
2011-04-18	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* rtems/score/sparc.h: Remove warnings.

M  1.102  cpukit/score/cpu/sparc/ChangeLog
M   1.16  cpukit/score/cpu/sparc/rtems/score/sparc.h

diff -u rtems/cpukit/score/cpu/sparc/ChangeLog:1.101 rtems/cpukit/score/cpu/sparc/ChangeLog:1.102
--- rtems/cpukit/score/cpu/sparc/ChangeLog:1.101	Fri Feb 11 02:52:39 2011
+++ rtems/cpukit/score/cpu/sparc/ChangeLog	Mon Apr 18 17:01:39 2011
@@ -1,3 +1,7 @@
+2011-04-18	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* rtems/score/sparc.h: Remove warnings.
+
 2011-02-11	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* rtems/score/cpu.h, rtems/score/sparc.h:

diff -u rtems/cpukit/score/cpu/sparc/rtems/score/sparc.h:1.15 rtems/cpukit/score/cpu/sparc/rtems/score/sparc.h:1.16
--- rtems/cpukit/score/cpu/sparc/rtems/score/sparc.h:1.15	Fri Feb 11 02:52:39 2011
+++ rtems/cpukit/score/cpu/sparc/rtems/score/sparc.h	Mon Apr 18 17:01:39 2011
@@ -212,10 +212,8 @@
 
 #define sparc_flash_interrupts( _level ) \
   do { \
-    register uint32_t   _ignored = 0; \
-    \
     sparc_enable_interrupts( (_level) ); \
-    _ignored = sparc_disable_interrupts(); \
+    _level = sparc_disable_interrupts(); \
   } while ( 0 )
 
 #define sparc_get_interrupt_level( _level ) \


 *joel*:
2011-04-18	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* posix/src/mqueuegetattr.c,
	score/inline/rtems/score/schedulerpriority.inl: Remove warnings.

M 1.2802  cpukit/ChangeLog
M   1.13  cpukit/posix/src/mqueuegetattr.c
M    1.6  cpukit/score/inline/rtems/score/schedulerpriority.inl

diff -u rtems/cpukit/ChangeLog:1.2801 rtems/cpukit/ChangeLog:1.2802
--- rtems/cpukit/ChangeLog:1.2801	Fri Apr 15 23:40:11 2011
+++ rtems/cpukit/ChangeLog	Mon Apr 18 17:01:46 2011
@@ -1,3 +1,8 @@
+2011-04-18	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* posix/src/mqueuegetattr.c,
+	score/inline/rtems/score/schedulerpriority.inl: Remove warnings.
+
 2011-04-16	Chris Johns <chrisj at rtems.org>
 
 	PR 1774/filesystem

diff -u rtems/cpukit/posix/src/mqueuegetattr.c:1.12 rtems/cpukit/posix/src/mqueuegetattr.c:1.13
--- rtems/cpukit/posix/src/mqueuegetattr.c:1.12	Mon Dec 17 10:19:14 2007
+++ rtems/cpukit/posix/src/mqueuegetattr.c	Mon Apr 18 17:01:47 2011
@@ -11,7 +11,7 @@
  *         This code ignores the O_RDONLY/O_WRONLY/O_RDWR flag at open
  *         time.
  *
- *  COPYRIGHT (c) 1989-2007.
+ *  COPYRIGHT (c) 1989-2011.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -52,7 +52,6 @@
   POSIX_Message_queue_Control          *the_mq;
   POSIX_Message_queue_Control_fd       *the_mq_fd;
   Objects_Locations                     location;
-  CORE_message_queue_Attributes        *the_mq_attr;
 
   if ( !mqstat )
     rtems_set_errno_and_return_minus_one( EINVAL );
@@ -66,9 +65,6 @@
       /*
        *  Return the old values.
        */
-
-      the_mq_attr = &the_mq->Message_queue.Attributes;
-
       mqstat->mq_flags   = the_mq_fd->oflag;
       mqstat->mq_msgsize = the_mq->Message_queue.maximum_message_size;
       mqstat->mq_maxmsg  = the_mq->Message_queue.maximum_pending_messages;

diff -u rtems/cpukit/score/inline/rtems/score/schedulerpriority.inl:1.5 rtems/cpukit/score/inline/rtems/score/schedulerpriority.inl:1.6
--- rtems/cpukit/score/inline/rtems/score/schedulerpriority.inl:1.5	Fri Feb 18 09:12:43 2011
+++ rtems/cpukit/score/inline/rtems/score/schedulerpriority.inl	Mon Apr 18 17:01:47 2011
@@ -86,10 +86,8 @@
 )
 {
   Scheduler_priority_Per_thread *sched_info;
-  Chain_Control                 *ready;
 
   sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
-  ready      = sched_info->ready_chain;
 
   _Priority_bit_map_Add( &sched_info->Priority_map );
 
@@ -159,10 +157,8 @@
 )
 {
   Scheduler_priority_Per_thread *sched_info;
-  Chain_Control                 *ready;
 
   sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
-  ready      = sched_info->ready_chain;
 
   if ( !_Chain_Has_only_one_node( sched_info->ready_chain ) ) {
     _Chain_Extract_unprotected( &the_thread->Object.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/20110418/f4ad6fb3/attachment.html>


More information about the vc mailing list