summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
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/include/rtems/score/schedulerprioritysmpimpl.h
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/include/rtems/score/schedulerprioritysmpimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h b/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
index 86710352e8..9ae01038b6 100644
--- a/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
+++ b/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
@@ -44,11 +44,11 @@ static inline Scheduler_priority_SMP_Context *_Scheduler_priority_SMP_Get_self(
return (Scheduler_priority_SMP_Context *) context;
}
-static inline Scheduler_priority_SMP_Node *_Scheduler_priority_SMP_Node_get(
+static inline Scheduler_priority_SMP_Node *_Scheduler_priority_SMP_Thread_get_node(
Thread_Control *thread
)
{
- return (Scheduler_priority_SMP_Node *) _Scheduler_Node_get( thread );
+ return (Scheduler_priority_SMP_Node *) _Scheduler_Thread_get_node( thread );
}
static inline Scheduler_priority_SMP_Node *