Changeset 04323c98 in rtems


Ignore:
Timestamp:
Jul 26, 2010, 8:27:04 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
80c1577
Parents:
80031e2
Message:

2010-07-26 Joel Sherrill <joel.sherrill@…>

  • rtems/src/ratemonperiod.c: Remove tabs.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r80031e2 r04323c98  
     12010-07-26      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * rtems/src/ratemonperiod.c: Remove tabs.
     4
    152010-07-26      Joel Sherrill <joel.sherrilL@OARcorp.com>
    26
  • cpukit/rtems/src/ratemonperiod.c

    r80031e2 r04323c98  
    138138       */
    139139      _Timespec_Subtract(
    140         &_Thread_Time_of_last_context_switch, &uptime, &ran
     140        &_Thread_Time_of_last_context_switch, &uptime, &ran
    141141      );
    142142
     
    344344
    345345      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {
    346         /*
    347         *  Update statistics from the concluding period
    348         */
    349         _Rate_monotonic_Update_statistics( the_period );
    350 
    351         _ISR_Enable( level );
    352 
    353         the_period->state = RATE_MONOTONIC_ACTIVE;
    354         the_period->next_length = length;
    355 
    356         _Watchdog_Insert_ticks( &the_period->Timer, length );
    357         _Thread_Enable_dispatch();
    358         return RTEMS_TIMEOUT;
     346        /*
     347        *  Update statistics from the concluding period
     348        */
     349        _Rate_monotonic_Update_statistics( the_period );
     350
     351        _ISR_Enable( level );
     352
     353        the_period->state = RATE_MONOTONIC_ACTIVE;
     354        the_period->next_length = length;
     355
     356        _Watchdog_Insert_ticks( &the_period->Timer, length );
     357        _Thread_Enable_dispatch();
     358        return RTEMS_TIMEOUT;
    359359      }
    360360
Note: See TracChangeset for help on using the changeset viewer.