diff options
Diffstat (limited to 'bsps/arm/fvp/start/bspstarthooks.c')
-rw-r--r-- | bsps/arm/fvp/start/bspstarthooks.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bsps/arm/fvp/start/bspstarthooks.c b/bsps/arm/fvp/start/bspstarthooks.c index f0087efa06..2d87c9e576 100644 --- a/bsps/arm/fvp/start/bspstarthooks.c +++ b/bsps/arm/fvp/start/bspstarthooks.c @@ -10,7 +10,7 @@ */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -66,10 +66,7 @@ void bsp_start_hook_0( void ) * Prevent the fatal errors SMP_FATAL_MULTITASKING_START_ON_INVALID_PROCESSOR * and 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 ) - ) { + if ( !_SMP_Should_start_processor( cpu_index_self ) ) { while ( true ) { _ARM_Wait_for_event(); } |