From 08d9760daf502d893bc02f24651c7b68287c263c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 8 Jul 2014 14:25:55 +0200 Subject: 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. --- cpukit/score/src/schedulersimplesmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/src/schedulersimplesmp.c') 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 ); } -- cgit v1.2.3