summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersimplesmp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-03 09:31:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-03 09:37:31 +0200
commit3aad9d9b08950f132e5fb285ef8e9cda2d1b3844 (patch)
treef8de36da9699904afb62250069bc1ffd56839157 /cpukit/score/src/schedulersimplesmp.c
parentbsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN (diff)
downloadrtems-3aad9d9b08950f132e5fb285ef8e9cda2d1b3844.tar.bz2
score: Generalize SMP scheduler block support
Add extract from scheduled function to the _Scheduler_SMP_Block() operation. This allows a scheduler implementation to do extra work in case a scheduled node is blocked.
Diffstat (limited to 'cpukit/score/src/schedulersimplesmp.c')
-rw-r--r--cpukit/score/src/schedulersimplesmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/schedulersimplesmp.c b/cpukit/score/src/schedulersimplesmp.c
index 4ab4987c3a..e0f56ffe67 100644
--- a/cpukit/score/src/schedulersimplesmp.c
+++ b/cpukit/score/src/schedulersimplesmp.c
@@ -174,6 +174,7 @@ void _Scheduler_simple_SMP_Block(
context,
thread,
node,
+ _Scheduler_SMP_Extract_from_scheduled,
_Scheduler_simple_SMP_Extract_from_ready,
_Scheduler_simple_SMP_Get_highest_ready,
_Scheduler_simple_SMP_Move_from_ready_to_scheduled,