diff options
Diffstat (limited to 'cpukit/score/src/threadqops.c')
-rw-r--r-- | cpukit/score/src/threadqops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c index 8652025a46..c0e0f67977 100644 --- a/cpukit/score/src/threadqops.c +++ b/cpukit/score/src/threadqops.c @@ -263,7 +263,7 @@ static size_t _Thread_queue_Scheduler_index( #if defined(RTEMS_SMP) const Scheduler_Control *scheduler; - scheduler = _Priority_Get_scheduler( &scheduler_node->Wait.Priority ); + scheduler = _Scheduler_Node_get_scheduler( scheduler_node ); return _Scheduler_Get_index( scheduler ); #else (void) scheduler_node; |