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/schedulersimplesmp.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/schedulersimplesmp.c')
-rw-r--r-- | cpukit/score/src/schedulersimplesmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/schedulersimplesmp.c b/cpukit/score/src/schedulersimplesmp.c index da2b77a28e..7361678e53 100644 --- a/cpukit/score/src/schedulersimplesmp.c +++ b/cpukit/score/src/schedulersimplesmp.c @@ -47,7 +47,7 @@ void _Scheduler_simple_SMP_Node_initialize( Thread_Control *the_thread ) { - Scheduler_SMP_Node *node = _Scheduler_SMP_Node_get( the_thread ); + Scheduler_SMP_Node *node = _Scheduler_SMP_Thread_get_node( the_thread ); _Scheduler_SMP_Node_initialize( node, the_thread ); } @@ -72,7 +72,7 @@ void _Scheduler_simple_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_simple_SMP_Do_update( context, node, new_priority ); } |