diff options
Diffstat (limited to 'cpukit/score/src/schedulerpriorityupdate.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityupdate.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/src/schedulerpriorityupdate.c b/cpukit/score/src/schedulerpriorityupdate.c index 0e7032af71..c906c346b4 100644 --- a/cpukit/score/src/schedulerpriorityupdate.c +++ b/cpukit/score/src/schedulerpriorityupdate.c @@ -21,16 +21,16 @@ #include <rtems/score/schedulerpriorityimpl.h> void _Scheduler_priority_Update( - Scheduler_Control *base, - Thread_Control *the_thread + const Scheduler_Control *scheduler, + Thread_Control *the_thread ) { - Scheduler_priority_Control *self = - _Scheduler_priority_Self_from_base( base ); + Scheduler_priority_Context *context = + _Scheduler_priority_Get_context( scheduler ); _Scheduler_priority_Update_body( the_thread, - &self->Bit_map, - &self->Ready[ 0 ] + &context->Bit_map, + &context->Ready[ 0 ] ); } |