summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/arm/realview-pbx-a9/start/bspstarthooks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bsps/arm/realview-pbx-a9/start/bspstarthooks.c b/bsps/arm/realview-pbx-a9/start/bspstarthooks.c
index db55b03cb6..1e386bfd23 100644
--- a/bsps/arm/realview-pbx-a9/start/bspstarthooks.c
+++ b/bsps/arm/realview-pbx-a9/start/bspstarthooks.c
@@ -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();