Changeset 073e3e10 in rtems


Ignore:
Timestamp:
Dec 5, 2012, 4:56:19 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10
Children:
39691cd
Parents:
d29f206
git-author:
Sebastian Huber <sebastian.huber@…> (12/05/12 16:56:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/06/12 09:01:24)
Message:

score: Critical fix for timer server

Under certain conditions it is possible that a call to
_Watchdog_Adjust_to_chain() happens with a unit parameter value of zero
(for example sptests/spintrcritical17). Remove superfluous checks that
prevent an adjust to a chain of a watchdog chain which first element has
a delta zero value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/watchdogadjusttochain.c

    rd29f206 r073e3e10  
    3434  Watchdog_Control  *first;
    3535
    36   if ( units <= 0 ) {
    37     return;
    38   }
    39 
    4036  _ISR_Disable( level );
    4137
    4238  while ( 1 ) {
    43     if ( units <= 0 ) {
    44       break;
    45     }
    4639    if ( _Chain_Is_empty( header ) ) {
    4740      break;
Note: See TracChangeset for help on using the changeset viewer.