summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-10 14:27:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-10 15:29:57 +0200
commit27783f6ca8683eaf4826e777963c32a63f55da31 (patch)
tree45a3294eb7cfd6bae51e1cb1661f699b0e23d6e8 /cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
parentscore: Fix assertions (diff)
downloadrtems-27783f6ca8683eaf4826e777963c32a63f55da31.tar.bz2
score: Fix scheduler helping implementation
Do not extract the idle threads from the ready set so that there is always a thread available for comparison.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h b/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
index bb200b4641..9ae01038b6 100644
--- a/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
+++ b/cpukit/score/include/rtems/score/schedulerprioritysmpimpl.h
@@ -148,28 +148,6 @@ static inline void _Scheduler_priority_SMP_Extract_from_ready(
);
}
-static inline Thread_Control *_Scheduler_priority_SMP_Get_idle_thread(
- Scheduler_Context *context
-)
-{
- return _Scheduler_SMP_Get_idle_thread(
- context,
- _Scheduler_priority_SMP_Extract_from_ready
- );
-}
-
-static void _Scheduler_priority_SMP_Release_idle_thread(
- Scheduler_Context *context,
- Thread_Control *idle
-)
-{
- _Scheduler_SMP_Release_idle_thread(
- context,
- idle,
- _Scheduler_priority_SMP_Insert_ready_fifo
- );
-}
-
static inline void _Scheduler_priority_SMP_Do_update(
Scheduler_Context *context,
Scheduler_Node *node_to_update,