diff options
Diffstat (limited to 'cpukit/score/src/schedulerpriorityenqueuefirst.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityenqueuefirst.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/score/src/schedulerpriorityenqueuefirst.c b/cpukit/score/src/schedulerpriorityenqueuefirst.c index 8de06fa693..1f0605d70b 100644 --- a/cpukit/score/src/schedulerpriorityenqueuefirst.c +++ b/cpukit/score/src/schedulerpriorityenqueuefirst.c @@ -21,14 +21,16 @@ #include <rtems/score/schedulerpriorityimpl.h> void _Scheduler_priority_Enqueue_first( - Thread_Control *the_thread + Scheduler_Control *base, + Thread_Control *the_thread ) { - Scheduler_priority_Control *scheduler = _Scheduler_priority_Instance(); + Scheduler_priority_Control *self = + _Scheduler_priority_Self_from_base( base ); _Scheduler_priority_Ready_queue_enqueue_first( the_thread, - &scheduler->Bit_map + &self->Bit_map ); } |