Changeset e473f3c in rtems


Ignore:
Timestamp:
Jun 10, 2014, 12:30:47 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
cb42c9a
Parents:
2a2a1695
git-author:
Sebastian Huber <sebastian.huber@…> (06/10/14 12:30:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/10/14 14:05:10)
Message:

score: Fix MrsP root node update

Set the new root after the resource tree update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/mrspimpl.h

    r2a2a1695 re473f3c  
    326326    _Resource_Node_extract( new_owner );
    327327    _Resource_Node_set_dependency( new_owner, NULL );
    328     _MRSP_Set_root( new_owner, new_owner );
    329328    _Resource_Node_add_resource( new_owner, &mrsp->Resource );
    330329    _Resource_Set_owner( &mrsp->Resource, new_owner );
     330    _MRSP_Set_root( new_owner, new_owner );
    331331    _MRSP_Add_state( rival, MRSP_RIVAL_STATE_NEW_OWNER );
    332332  }
Note: See TracChangeset for help on using the changeset viewer.