mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-17 12:58:54 +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.
|
* 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();
|
||||||
|
|||||||
Reference in New Issue
Block a user