summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerpriorityblock.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-03 15:03:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-04 11:01:18 +0200
commit24934e36e2513f972510d7c746103be1f766dc6a (patch)
tree66e3c8840cec6c1262f142e25ec545926140dbf9 /cpukit/score/src/schedulerpriorityblock.c
parentscore: Add and use Scheduler_simple_Control (diff)
downloadrtems-24934e36e2513f972510d7c746103be1f766dc6a.tar.bz2
score: Add scheduler control to scheduler ops
Scheduler operations must be free of a global scheduler context to enable partitioned/clustered scheduling.
Diffstat (limited to 'cpukit/score/src/schedulerpriorityblock.c')
-rw-r--r--cpukit/score/src/schedulerpriorityblock.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/score/src/schedulerpriorityblock.c b/cpukit/score/src/schedulerpriorityblock.c
index 259d6f00e8..02d73873ab 100644
--- a/cpukit/score/src/schedulerpriorityblock.c
+++ b/cpukit/score/src/schedulerpriorityblock.c
@@ -22,11 +22,15 @@
#include <rtems/score/schedulerpriorityimpl.h>
-void _Scheduler_priority_Block( Thread_Control *the_thread )
+void _Scheduler_priority_Block(
+ Scheduler_Control *scheduler,
+ Thread_Control *the_thread
+)
{
_Scheduler_Generic_block(
+ scheduler,
+ the_thread,
_Scheduler_priority_Extract_body,
- _Scheduler_priority_Schedule_body,
- the_thread
+ _Scheduler_priority_Schedule_body
);
}