diff options
Diffstat (limited to 'cpukit/score/src/schedulerstrongapa.c')
-rw-r--r-- | cpukit/score/src/schedulerstrongapa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerstrongapa.c b/cpukit/score/src/schedulerstrongapa.c index 09efde9cf9..dd4409766e 100644 --- a/cpukit/score/src/schedulerstrongapa.c +++ b/cpukit/score/src/schedulerstrongapa.c @@ -165,7 +165,10 @@ void _Scheduler_strong_APA_Initialize( const Scheduler_Control *scheduler ) _Scheduler_SMP_Initialize( &self->Base ); _Priority_bit_map_Initialize( &self->Bit_map ); - _Scheduler_priority_Ready_queue_initialize( &self->Ready[ 0 ] ); + _Scheduler_priority_Ready_queue_initialize( + &self->Ready[ 0 ], + scheduler->maximum_priority + ); } void _Scheduler_strong_APA_Node_initialize( |