summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerchangeroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulerchangeroot.c')
-rw-r--r--cpukit/score/src/schedulerchangeroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerchangeroot.c b/cpukit/score/src/schedulerchangeroot.c
index eba852ba5e..f731117b4c 100644
--- a/cpukit/score/src/schedulerchangeroot.c
+++ b/cpukit/score/src/schedulerchangeroot.c
@@ -32,7 +32,7 @@ RTEMS_INLINE_ROUTINE bool _Scheduler_Set_root_visitor(
Thread_Control *root = ctx->root;
Thread_Control *needs_help = root;
Thread_Control *offers_help =
- _Thread_Resource_node_to_thread( resource_node );
+ THREAD_RESOURCE_NODE_TO_THREAD( resource_node );
const Scheduler_Control *scheduler = _Scheduler_Get_own( offers_help );
Thread_Control *needs_help_too;