diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-26 20:27:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-26 20:27:04 +0000 |
commit | 04323c98d29716d214661ab3c9e99b7616682b3c (patch) | |
tree | 19c2e95a85146dc78e040199a80951913ad880b7 /cpukit/rtems/src/ratemonperiod.c | |
parent | 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-04323c98d29716d214661ab3c9e99b7616682b3c.tar.bz2 |
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/ratemonperiod.c: Remove tabs.
Diffstat (limited to 'cpukit/rtems/src/ratemonperiod.c')
-rw-r--r-- | cpukit/rtems/src/ratemonperiod.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c index 47023041b4..e244fd5778 100644 --- a/cpukit/rtems/src/ratemonperiod.c +++ b/cpukit/rtems/src/ratemonperiod.c @@ -137,7 +137,7 @@ void _Rate_monotonic_Initiate_statistics( * 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 @@ rtems_status_code rtems_rate_monotonic_period( } if ( the_period->state == RATE_MONOTONIC_EXPIRED ) { - /* - * Update statistics from the concluding period - */ - _Rate_monotonic_Update_statistics( the_period ); + /* + * Update statistics from the concluding period + */ + _Rate_monotonic_Update_statistics( the_period ); - _ISR_Enable( level ); + _ISR_Enable( level ); - the_period->state = RATE_MONOTONIC_ACTIVE; - the_period->next_length = length; + the_period->state = RATE_MONOTONIC_ACTIVE; + the_period->next_length = length; - _Watchdog_Insert_ticks( &the_period->Timer, length ); - _Thread_Enable_dispatch(); - return RTEMS_TIMEOUT; + _Watchdog_Insert_ticks( &the_period->Timer, length ); + _Thread_Enable_dispatch(); + return RTEMS_TIMEOUT; } /* |