diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-08 14:25:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-08 16:30:48 +0200 |
commit | 08d9760daf502d893bc02f24651c7b68287c263c (patch) | |
tree | 4c2b37721837fd3e10d252a2d8d81067850ec060 /cpukit/score/src/schedulercbsattachthread.c | |
parent | score: Simplify SMP processor allocation (diff) | |
download | rtems-08d9760daf502d893bc02f24651c7b68287c263c.tar.bz2 |
score: Rename *_Node_get() to *_Thread_get_node()
This emphasizes that the scheduler node of a thread is returned and this
is not a function working with scheduler nodes like the other *_Node_*()
functions.
Diffstat (limited to 'cpukit/score/src/schedulercbsattachthread.c')
-rw-r--r-- | cpukit/score/src/schedulercbsattachthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulercbsattachthread.c b/cpukit/score/src/schedulercbsattachthread.c index 3892e89aae..2d1e0ee243 100644 --- a/cpukit/score/src/schedulercbsattachthread.c +++ b/cpukit/score/src/schedulercbsattachthread.c @@ -43,7 +43,7 @@ int _Scheduler_CBS_Attach_thread ( the_thread = _Thread_Get(task_id, &location); /* The routine _Thread_Get may disable dispatch and not enable again. */ if ( the_thread ) { - Scheduler_CBS_Node *node = _Scheduler_CBS_Node_get( the_thread ); + Scheduler_CBS_Node *node = _Scheduler_CBS_Thread_get_node( the_thread ); /* Thread is already attached to a server. */ if ( node->cbs_server ) { |