summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerstrongapa.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-10 14:33:17 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-02 10:05:41 +0100
commite382a1bfccdecf1dcf01c452ee0edb5afa0660b3 (patch)
tree901e36ea6fcacc997210cb13d19fd997ed15251d /cpukit/score/src/schedulerstrongapa.c
parentscore: Pass scheduler node to yield operation (diff)
downloadrtems-e382a1bfccdecf1dcf01c452ee0edb5afa0660b3.tar.bz2
score: Pass scheduler node to block operation
Changed for consistency with other scheduler operations. Update #2556.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/schedulerstrongapa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerstrongapa.c b/cpukit/score/src/schedulerstrongapa.c
index 2b2f4e4839..b5a5545a5f 100644
--- a/cpukit/score/src/schedulerstrongapa.c
+++ b/cpukit/score/src/schedulerstrongapa.c
@@ -218,7 +218,8 @@ static Scheduler_Node *_Scheduler_strong_APA_Get_highest_ready(
void _Scheduler_strong_APA_Block(
const Scheduler_Control *scheduler,
- Thread_Control *the_thread
+ Thread_Control *the_thread,
+ Scheduler_Node *node
)
{
Scheduler_Context *context = _Scheduler_Get_context( scheduler );
@@ -226,6 +227,7 @@ void _Scheduler_strong_APA_Block(
_Scheduler_SMP_Block(
context,
the_thread,
+ node,
_Scheduler_strong_APA_Extract_from_ready,
_Scheduler_strong_APA_Get_highest_ready,
_Scheduler_strong_APA_Move_from_ready_to_scheduled,