diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 13:46:11 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:40 +0100 |
commit | 9eec2f33e983d466f7677bc0769eafbc448f7cf6 (patch) | |
tree | f968675f2d6d64e50c02e8b9751e23ac4eac57d0 /testsuites/sptests/spinternalerror02/init.c | |
parent | 46d7fa5cd336a7cf892e7ec8cd60c27882cb1225 (diff) |
score: Add RTEMS_FATAL_SOURCE_SMP
Use rtems_fatal() instead of _CPU_Fatal_halt() to shutdown processors in
SMP configurations since this allows intervention of BSP or application
specific fatal extensions.
Diffstat (limited to 'testsuites/sptests/spinternalerror02/init.c')
-rw-r--r-- | testsuites/sptests/spinternalerror02/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spinternalerror02/init.c b/testsuites/sptests/spinternalerror02/init.c index 0d07fabe79..01865da74b 100644 --- a/testsuites/sptests/spinternalerror02/init.c +++ b/testsuites/sptests/spinternalerror02/init.c @@ -49,7 +49,7 @@ static void test_fatal_source_text(void) puts( text ); } while ( text != text_last ); - rtems_test_assert( source - 3 == RTEMS_FATAL_SOURCE_EXCEPTION ); + rtems_test_assert( source - 3 == RTEMS_FATAL_SOURCE_SMP ); } static void test_status_text(void) |