mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-16 12:28:51 +00:00
bsp/realview-pbx-a9: Fix smpfatal04 test
This commit is contained in:
@@ -68,8 +68,9 @@ BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
|
||||
* SMP_FATAL_MULTITASKING_START_ON_UNASSIGNED_PROCESSOR this way.
|
||||
*/
|
||||
if (
|
||||
cpu_index_self >= rtems_configuration_get_maximum_processors()
|
||||
|| !_SMP_Should_start_processor(cpu_index_self)
|
||||
cpu_index_self != 0 &&
|
||||
(cpu_index_self >= rtems_configuration_get_maximum_processors() ||
|
||||
!_SMP_Should_start_processor(cpu_index_self))
|
||||
) {
|
||||
while (true) {
|
||||
_ARM_Wait_for_event();
|
||||
|
||||
Reference in New Issue
Block a user