diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-10 14:50:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 10:05:41 +0100 |
commit | 72e0bdba4580072c33da09fcacbd3063dbc4f2c1 (patch) | |
tree | f2daa6386cdbef84266bb363bd6c26de610a146b /cpukit/score/src/schedulersimpleunblock.c | |
parent | score: Pass scheduler node to block operation (diff) | |
download | rtems-72e0bdba4580072c33da09fcacbd3063dbc4f2c1.tar.bz2 |
score: Pass scheduler node to unblock operation
Changed for consistency with other scheduler operations.
Update #2556.
Diffstat (limited to 'cpukit/score/src/schedulersimpleunblock.c')
-rw-r--r-- | cpukit/score/src/schedulersimpleunblock.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulersimpleunblock.c b/cpukit/score/src/schedulersimpleunblock.c index de08fc1a5a..5eeaf6cc35 100644 --- a/cpukit/score/src/schedulersimpleunblock.c +++ b/cpukit/score/src/schedulersimpleunblock.c @@ -23,12 +23,15 @@ Scheduler_Void_or_thread _Scheduler_simple_Unblock( const Scheduler_Control *scheduler, - Thread_Control *the_thread + Thread_Control *the_thread, + Scheduler_Node *node ) { Scheduler_simple_Context *context; Priority_Control priority; + (void) node; + context = _Scheduler_simple_Get_context( scheduler ); _Scheduler_simple_Insert_priority_fifo( &context->Ready, the_thread ); priority = _Thread_Get_priority( the_thread ); |