summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersimplereadyqueueenqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulersimplereadyqueueenqueue.c')
-rw-r--r--cpukit/score/src/schedulersimplereadyqueueenqueue.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/src/schedulersimplereadyqueueenqueue.c b/cpukit/score/src/schedulersimplereadyqueueenqueue.c
index 3e06a26b29..8e5f12d6ee 100644
--- a/cpukit/score/src/schedulersimplereadyqueueenqueue.c
+++ b/cpukit/score/src/schedulersimplereadyqueueenqueue.c
@@ -21,12 +21,12 @@
#include <rtems/score/schedulersimpleimpl.h>
void _Scheduler_simple_Ready_queue_enqueue(
- Scheduler_Control *scheduler_base,
- Thread_Control *the_thread
+ const Scheduler_Control *scheduler,
+ Thread_Control *the_thread
)
{
- Scheduler_simple_Control *scheduler =
- _Scheduler_simple_Self_from_base( scheduler_base );
+ Scheduler_simple_Context *context =
+ _Scheduler_simple_Get_context( scheduler );
- _Scheduler_simple_Insert_priority_fifo( &scheduler->Ready, the_thread );
+ _Scheduler_simple_Insert_priority_fifo( &context->Ready, the_thread );
}