diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-21 05:39:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-31 09:59:41 +0200 |
commit | 341f629614052656f1e1676143595a7be908dec2 (patch) | |
tree | 44ec0b8372568fecb50f01abd36408171d674ec3 /cpukit/score/src/threadqops.c | |
parent | sptests/sprbtree01: Avoid internal API (diff) | |
download | rtems-341f629614052656f1e1676143595a7be908dec2.tar.bz2 |
rbtree: Add _RBTree_Minimum(), _RBTree_Maximum()
Diffstat (limited to 'cpukit/score/src/threadqops.c')
-rw-r--r-- | cpukit/score/src/threadqops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c index d19067fab1..c9e2b5d9ba 100644 --- a/cpukit/score/src/threadqops.c +++ b/cpukit/score/src/threadqops.c @@ -231,7 +231,7 @@ static Thread_Control *_Thread_queue_Priority_first( { RBTree_Node *first; - first = _RBTree_First( &heads->Heads.Priority, RBT_LEFT ); + first = _RBTree_Minimum( &heads->Heads.Priority ); return first != NULL ? THREAD_RBTREE_NODE_TO_THREAD( first ) : NULL; } |