summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulercbsattachthread.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-08 14:25:55 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-08 16:30:48 +0200
commit08d9760daf502d893bc02f24651c7b68287c263c (patch)
tree4c2b37721837fd3e10d252a2d8d81067850ec060 /cpukit/score/src/schedulercbsattachthread.c
parentscore: Simplify SMP processor allocation (diff)
downloadrtems-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.c2
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 ) {