score: Avoid _Scheduler_Get_by_CPU_index( 0 )

Avoid use of processor index 0 which may have no scheduler assigned.
This commit is contained in:
Sebastian Huber
2016-11-09 15:27:29 +01:00
parent 2612a0bf5b
commit f20dfa8fcd
@@ -237,7 +237,7 @@ _CORE_ceiling_mutex_Get_scheduler(
#if defined(RTEMS_SMP)
return the_mutex->scheduler;
#else
return _Scheduler_Get_by_CPU_index( 0 );
return &_Scheduler_Table[ 0 ];
#endif
}