diff options
Diffstat (limited to 'cpukit/score/src/schedulerpriorityenqueue.c')
-rw-r--r-- | cpukit/score/src/schedulerpriorityenqueue.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/src/schedulerpriorityenqueue.c b/cpukit/score/src/schedulerpriorityenqueue.c index 54375cde2d..9d62c2ccee 100644 --- a/cpukit/score/src/schedulerpriorityenqueue.c +++ b/cpukit/score/src/schedulerpriorityenqueue.c @@ -21,10 +21,12 @@ #include <rtems/score/schedulerpriorityimpl.h> void _Scheduler_priority_Enqueue( - Thread_Control *the_thread + Scheduler_Control *base, + Thread_Control *the_thread ) { - Scheduler_priority_Control *scheduler = _Scheduler_priority_Instance(); + Scheduler_priority_Control *scheduler = + _Scheduler_priority_Self_from_base( base ); _Scheduler_priority_Ready_queue_enqueue( the_thread, &scheduler->Bit_map ); } |