diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 10:10:27 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:39 +0100 |
commit | 8a6de83fd833c4b0458ba27eb4883c53c1b1ecf4 (patch) | |
tree | ea45e29f7ca5cab0a54ad005e93f942079442814 /cpukit/sapi | |
parent | score: Disable ISR in _Internal_error_Occurred() (diff) | |
download | rtems-8a6de83fd833c4b0458ba27eb4883c53c1b1ecf4.tar.bz2 |
score: Move _SMP_Request_other_cores_to_shutdown()
Move _SMP_Request_other_cores_to_shutdown() invocation from
rtems_shutdown_executive() to _Internal_error_Occurred() to allow a
proper shutdown on SMP configurations even in the error case.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/src/exshutdown.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cpukit/sapi/src/exshutdown.c b/cpukit/sapi/src/exshutdown.c index 41ee537e44..80848f0953 100644 --- a/cpukit/sapi/src/exshutdown.c +++ b/cpukit/sapi/src/exshutdown.c @@ -17,10 +17,6 @@ #include <rtems/score/sysstate.h> #include <rtems/score/interr.h> -#if defined(RTEMS_SMP) - #include <rtems/score/smp.h> -#endif - void rtems_shutdown_executive( uint32_t result ) { Internal_errors_Source source; @@ -28,10 +24,6 @@ void rtems_shutdown_executive( uint32_t result ) Internal_errors_t code; if ( _System_state_Is_up( _System_state_Get() ) ) { - #if defined(RTEMS_SMP) - _SMP_Request_other_cores_to_shutdown(); - #endif - source = RTEMS_FATAL_SOURCE_EXIT; is_internal = false; code = result; |