diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-07-05 09:00:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-07-06 09:33:20 +0200 |
commit | 008efaff7f7d1003ea2648a7cef338ec93f60d70 (patch) | |
tree | 7731822ae3b13329125ecfc174d9288db5827758 /cpukit/score/src/interr.c | |
parent | Config (.cfg) files are only valid if deeper than 5. (diff) | |
download | rtems-008efaff7f7d1003ea2648a7cef338ec93f60d70.tar.bz2 |
score: Do not disable ISR in _Terminate()
This partially reverts 38ee75853f674977609bd078c69fb53420afdd08. Let
the calling context decide if interrupts must be disabled or not. The
goal is to enable fatal extensions to continue program execution after
some fatal errors.
Diffstat (limited to 'cpukit/score/src/interr.c')
-rw-r--r-- | cpukit/score/src/interr.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c index 24ac9a49a0..526023f5ba 100644 --- a/cpukit/score/src/interr.c +++ b/cpukit/score/src/interr.c @@ -19,7 +19,6 @@ #endif #include <rtems/score/interr.h> -#include <rtems/score/isrlevel.h> #include <rtems/score/smpimpl.h> #include <rtems/score/sysstate.h> #include <rtems/score/userextimpl.h> @@ -34,11 +33,6 @@ void _Terminate( Internal_errors_t the_error ) { - ISR_Level level; - - _ISR_Local_disable( level ); - (void) level; - _SMP_Request_shutdown(); _User_extensions_Fatal( the_source, is_internal, the_error ); |