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/schedulerprioritysmp.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/schedulerprioritysmp.c')
-rw-r--r-- | cpukit/score/src/schedulerprioritysmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/schedulerprioritysmp.c b/cpukit/score/src/schedulerprioritysmp.c index f74eb1bb82..1f6d608538 100644 --- a/cpukit/score/src/schedulerprioritysmp.c +++ b/cpukit/score/src/schedulerprioritysmp.c @@ -47,7 +47,7 @@ void _Scheduler_priority_SMP_Node_initialize( Thread_Control *thread ) { - Scheduler_SMP_Node *node = _Scheduler_SMP_Node_get( thread ); + Scheduler_SMP_Node *node = _Scheduler_SMP_Thread_get_node( thread ); _Scheduler_SMP_Node_initialize( node, thread ); } @@ -59,7 +59,7 @@ void _Scheduler_priority_SMP_Update_priority( ) { Scheduler_Context *context = _Scheduler_Get_context( scheduler ); - Scheduler_Node *node = _Scheduler_Node_get( thread ); + Scheduler_Node *node = _Scheduler_Thread_get_node( thread ); _Scheduler_priority_SMP_Do_update( context, node, new_priority ); } |