From 24934e36e2513f972510d7c746103be1f766dc6a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 3 Apr 2014 15:03:35 +0200 Subject: score: Add scheduler control to scheduler ops Scheduler operations must be free of a global scheduler context to enable partitioned/clustered scheduling. --- cpukit/score/src/schedulersimplereadyqueueenqueue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/src/schedulersimplereadyqueueenqueue.c') diff --git a/cpukit/score/src/schedulersimplereadyqueueenqueue.c b/cpukit/score/src/schedulersimplereadyqueueenqueue.c index 134f6e8a7a..3e06a26b29 100644 --- a/cpukit/score/src/schedulersimplereadyqueueenqueue.c +++ b/cpukit/score/src/schedulersimplereadyqueueenqueue.c @@ -21,11 +21,12 @@ #include void _Scheduler_simple_Ready_queue_enqueue( + Scheduler_Control *scheduler_base, Thread_Control *the_thread ) { Scheduler_simple_Control *scheduler = - _Scheduler_simple_Instance(); + _Scheduler_simple_Self_from_base( scheduler_base ); _Scheduler_simple_Insert_priority_fifo( &scheduler->Ready, the_thread ); } -- cgit v1.2.3