diff options
Diffstat (limited to 'cpukit/score/src/thread.c')
-rw-r--r-- | cpukit/score/src/thread.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index f0891373f6..bf8e8939e7 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -24,6 +24,7 @@ #include <rtems/score/isr.h> #include <rtems/score/object.h> #include <rtems/score/priority.h> +#include <rtems/score/scheduler.h> #include <rtems/score/states.h> #include <rtems/score/sysstate.h> #include <rtems/score/thread.h> @@ -45,7 +46,6 @@ void _Thread_Handler_initialization(void) { - uint32_t index; uint32_t ticks_per_timeslice; uint32_t maximum_extensions; #if defined(RTEMS_MULTIPROCESSING) @@ -80,13 +80,6 @@ void _Thread_Handler_initialization(void) _Thread_Ticks_per_timeslice = ticks_per_timeslice; - _Thread_Ready_chain = (Chain_Control *) _Workspace_Allocate_or_fatal_error( - (PRIORITY_MAXIMUM + 1) * sizeof(Chain_Control) - ); - - for ( index=0; index <= PRIORITY_MAXIMUM ; index++ ) - _Chain_Initialize_empty( &_Thread_Ready_chain[ index ] ); - #if defined(RTEMS_MULTIPROCESSING) _Thread_MP_Handler_initialization( maximum_proxies ); #endif |