diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-18 19:19:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-22 16:35:06 +0100 |
commit | e5a2249a49f5b6e1ebcf229a0ade3b26d01fb52f (patch) | |
tree | 5344858e264d2728d5b605b219ba05894c08738d | |
parent | ftpfs: Fix NULL pointer access (diff) | |
download | rtems-e5a2249a49f5b6e1ebcf229a0ade3b26d01fb52f.tar.bz2 |
score: Delete nest level from internal error state
This reverts commit 7d0bdcac1ac20d6f22b24689c16e6aa7bc3c1e40.
-rw-r--r-- | cpukit/score/include/rtems/score/interr.h | 7 | ||||
-rw-r--r-- | cpukit/score/src/interr.c | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index b92b5be040..049264995a 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -158,13 +158,6 @@ typedef struct { bool is_internal; /** This is the error code. */ Internal_errors_t the_error; - - /** - * @brief The internal error nest level. - * - * This helps to detect recursive calls to _Internal_error_Occurred(). - */ - uint32_t nest_level; } Internal_errors_Information; /** diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c index 0192dfd71c..a9f1efc8b9 100644 --- a/cpukit/score/src/interr.c +++ b/cpukit/score/src/interr.c @@ -55,8 +55,6 @@ void _Internal_error_Occurred( _Internal_errors_What_happened.is_internal = is_internal; _Internal_errors_What_happened.the_error = the_error; - ++_Internal_errors_What_happened.nest_level; - _User_extensions_Fatal( the_source, is_internal, the_error ); _System_state_Set( SYSTEM_STATE_FAILED ); |