diff options
-rw-r--r-- | cpukit/include/rtems/stackchk.h | 4 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 24 |
2 files changed, 2 insertions, 26 deletions
diff --git a/cpukit/include/rtems/stackchk.h b/cpukit/include/rtems/stackchk.h index 16fc4f9b9d..eb81bb827e 100644 --- a/cpukit/include/rtems/stackchk.h +++ b/cpukit/include/rtems/stackchk.h @@ -127,8 +127,8 @@ void rtems_stack_checker_switch_extension( rtems_stack_checker_switch_extension, /* task_switch */ \ 0, /* task_begin */ \ 0, /* task_exitted */ \ - 0 /* rtems_stack_checker_fatal_extension */, /* fatal */ \ - 0, /* terminate */ \ + 0, /* fatal */ \ + 0 /* terminate */ \ } #ifdef __cplusplus diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index d19fef4dcf..4643e7601a 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -27,15 +27,6 @@ #include <rtems.h> #include <inttypes.h> -/* - * The stack dump information may be printed by a "fatal" extension. - * Fatal extensions only get called via rtems_fatal_error_occurred() - * and not when rtems_shutdown_executive() is called. - * When that happens, this #define should be deleted and all the code - * it marks. - */ -#define DONT_USE_FATAL_EXTENSION - #include <string.h> #include <stdlib.h> @@ -426,21 +417,6 @@ static bool Stack_check_Dump_threads_usage( } /* - * rtems_stack_checker_fatal_extension - */ -#ifndef DONT_USE_FATAL_EXTENSION - void rtems_stack_checker_fatal_extension( - Internal_errors_Source source, - bool always_set_to_false, - uint32_t status - ) - { - if (status == 0) - rtems_stack_checker_report_usage(); - } -#endif - -/* * rtems_stack_checker_report_usage */ |