summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/scheduler.c')
-rw-r--r--cpukit/score/src/scheduler.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/score/src/scheduler.c b/cpukit/score/src/scheduler.c
index 7705472b35..ef5a0a9c00 100644
--- a/cpukit/score/src/scheduler.c
+++ b/cpukit/score/src/scheduler.c
@@ -22,5 +22,12 @@
void _Scheduler_Handler_initialization(void)
{
- (*_Scheduler.Operations.initialize)();
+ size_t n = _Scheduler_Count;
+ size_t i;
+
+ for ( i = 0 ; i < n ; ++i ) {
+ const Scheduler_Control *scheduler = &_Scheduler_Table[ i ];
+
+ ( *scheduler->Operations.initialize )( scheduler );
+ }
}