summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqops.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-08-21 05:39:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-08-31 09:59:41 +0200
commit341f629614052656f1e1676143595a7be908dec2 (patch)
tree44ec0b8372568fecb50f01abd36408171d674ec3 /cpukit/score/src/threadqops.c
parentsptests/sprbtree01: Avoid internal API (diff)
downloadrtems-341f629614052656f1e1676143595a7be908dec2.tar.bz2
rbtree: Add _RBTree_Minimum(), _RBTree_Maximum()
Diffstat (limited to 'cpukit/score/src/threadqops.c')
-rw-r--r--cpukit/score/src/threadqops.c2
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;
}