change log for rtems (2010-07-26)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Jul 26 21:11:52 UTC 2010


 *joel*:
2010-07-26	Joel Sherrill <joel.sherrill at oarcorp.com>

	* rtems/src/ratemonperiod.c: Remove tabs.

M 1.2521  cpukit/ChangeLog
M   1.29  cpukit/rtems/src/ratemonperiod.c

diff -u rtems/cpukit/ChangeLog:1.2520 rtems/cpukit/ChangeLog:1.2521
--- rtems/cpukit/ChangeLog:1.2520	Mon Jul 26 08:49:01 2010
+++ rtems/cpukit/ChangeLog	Mon Jul 26 15:27:03 2010
@@ -1,3 +1,7 @@
+2010-07-26	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* rtems/src/ratemonperiod.c: Remove tabs.
+
 2010-07-26	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* rtems/src/ratemonperiod.c: Use if not switch since all cases of enum

diff -u rtems/cpukit/rtems/src/ratemonperiod.c:1.28 rtems/cpukit/rtems/src/ratemonperiod.c:1.29
--- rtems/cpukit/rtems/src/ratemonperiod.c:1.28	Mon Jul 26 08:49:01 2010
+++ rtems/cpukit/rtems/src/ratemonperiod.c	Mon Jul 26 15:27:04 2010
@@ -137,7 +137,7 @@
        *  context switch.
        */
       _Timespec_Subtract(
-	&_Thread_Time_of_last_context_switch, &uptime, &ran
+        &_Thread_Time_of_last_context_switch, &uptime, &ran
       );
 
       _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
@@ -343,19 +343,19 @@
       }
 
       if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {
-	/*
-	 *  Update statistics from the concluding period
-	 */
-	_Rate_monotonic_Update_statistics( the_period );
-
-	_ISR_Enable( level );
-
-	the_period->state = RATE_MONOTONIC_ACTIVE;
-	the_period->next_length = length;
-
-	_Watchdog_Insert_ticks( &the_period->Timer, length );
-	_Thread_Enable_dispatch();
-	return RTEMS_TIMEOUT;
+        /*
+         *  Update statistics from the concluding period
+         */
+        _Rate_monotonic_Update_statistics( the_period );
+
+        _ISR_Enable( level );
+
+        the_period->state = RATE_MONOTONIC_ACTIVE;
+        the_period->next_length = length;
+
+        _Watchdog_Insert_ticks( &the_period->Timer, length );
+        _Thread_Enable_dispatch();
+        return RTEMS_TIMEOUT;
       }
 
       /*



--

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/20100726/f534e0cf/attachment.html>


More information about the vc mailing list