diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-15 08:47:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-15 12:18:49 +0200 |
commit | 6359b68afebf75608bd7f05dc6cddd957c4ba9ca (patch) | |
tree | 99afe5c5f5d89ab1dcf53ecaea9e98d47643a692 /cpukit/score/include/rtems/score/schedulersmpimpl.h | |
parent | 3733b224100d59ace0518834917b8e3f76e8a68a (diff) |
score: Add and use _Scheduler_SMP_Start_idle()
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulersmpimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersmpimpl.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulersmpimpl.h index 365edbb845..3650e4c742 100644 --- a/cpukit/score/include/rtems/score/schedulersmpimpl.h +++ b/cpukit/score/include/rtems/score/schedulersmpimpl.h @@ -620,21 +620,6 @@ static inline void _Scheduler_SMP_Insert_scheduled_fifo( ); } -static inline void _Scheduler_SMP_Start_idle( - Scheduler_Context *context, - Thread_Control *thread, - Per_CPU_Control *cpu -) -{ - Scheduler_SMP_Context *self = _Scheduler_SMP_Get_self( context ); - Scheduler_SMP_Node *node = _Scheduler_SMP_Node_get( thread ); - - node->state = SCHEDULER_SMP_NODE_SCHEDULED; - - _Thread_Set_CPU( thread, cpu ); - _Chain_Append_unprotected( &self->Scheduled, &thread->Object.Node ); -} - /** @} */ #ifdef __cplusplus |