summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-03 12:16:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-20 14:54:18 +0200
commit95d37b630729c303d152bda8e282235c5cf1fd75 (patch)
tree52f4193b42fdf60652904549d6cd304913e09ac7
parent208ebf209906482b7a18adf11c186263d7db3b7c (diff)
downloadrtems-95d37b630729c303d152bda8e282235c5cf1fd75.tar.bz2
bsps/arm: Use _Assert()
-rw-r--r--bsps/arm/shared/start/arm-a9mpcore-smp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsps/arm/shared/start/arm-a9mpcore-smp.c b/bsps/arm/shared/start/arm-a9mpcore-smp.c
index c2550136f8..dd0512648c 100644
--- a/bsps/arm/shared/start/arm-a9mpcore-smp.c
+++ b/bsps/arm/shared/start/arm-a9mpcore-smp.c
@@ -12,8 +12,6 @@
* http://www.rtems.org/license/LICENSE.
*/
-#include <assert.h>
-
#include <rtems/score/smpimpl.h>
#include <libcpu/arm-cp15.h>
@@ -42,7 +40,8 @@ void _CPU_SMP_Finalize_initialization(uint32_t cpu_count)
bsp_inter_processor_interrupt,
NULL
);
- assert(sc == RTEMS_SUCCESSFUL);
+ _Assert(sc == RTEMS_SUCCESSFUL);
+ (void) sc;
#if defined(BSP_DATA_CACHE_ENABLED) || defined(BSP_INSTRUCTION_CACHE_ENABLED)
/* Enable unified L2 cache */