bsp/realview-pbx-a9: Fix smpfatal04 test

This commit is contained in:
Sebastian Huber
2020-12-10 09:41:54 +01:00
parent 617aeaf572
commit 6b79abfbbc

View File

@@ -68,8 +68,9 @@ BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
* SMP_FATAL_MULTITASKING_START_ON_UNASSIGNED_PROCESSOR this way. * SMP_FATAL_MULTITASKING_START_ON_UNASSIGNED_PROCESSOR this way.
*/ */
if ( if (
cpu_index_self >= rtems_configuration_get_maximum_processors() cpu_index_self != 0 &&
|| !_SMP_Should_start_processor(cpu_index_self) (cpu_index_self >= rtems_configuration_get_maximum_processors() ||
!_SMP_Should_start_processor(cpu_index_self))
) { ) {
while (true) { while (true) {
_ARM_Wait_for_event(); _ARM_Wait_for_event();