summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 19:30:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 19:30:36 +0000
commit4afd6f407816fbac130af4a8e2c8b5e1b76e4580 (patch)
tree117e4c0f6187060bbc0834f9ad4b0fd0f40eec3d /cpukit
parent2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-4afd6f407816fbac130af4a8e2c8b5e1b76e4580.tar.bz2
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate CONFIGURE_STACK_CHECKER_ENABLED.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/sapi/include/confdefs.h16
2 files changed, 17 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 929f5d3056..79f9351476 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate
+ CONFIGURE_STACK_CHECKER_ENABLED.
+
+2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_init.c,
libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c,
libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c,
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 1facb44dd7..35404162dc 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -225,10 +225,18 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#endif
#endif
+/*
+ * STACK_CHECER_ON was still available in 4.9 so give a warning for now.
+ */
+#if defined(STACK_CHECKER_ON)
+ #define CONFIGURE_STACK_CHECKER_ENABLED
+ #warning "STACK_CHECKER_ON deprecated -- use CONFIGURE_STACK_CHECKER_ENABLED"
+#endif
+
/**
* This configures the stack checker user extension.
*/
-#ifdef STACK_CHECKER_ON
+#ifdef CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_STACK_CHECKER_EXTENSION 1
#else
#define CONFIGURE_STACK_CHECKER_EXTENSION 0
@@ -926,19 +934,19 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
*/
#ifdef CONFIGURE_INIT
-#ifdef STACK_CHECKER_ON
+#ifdef CONFIGURE_STACK_CHECKER_ENABLED
#include <rtems/stackchk.h>
#endif
#include <rtems/libcsupport.h>
#if defined(CONFIGURE_INITIAL_EXTENSIONS) || \
- defined(STACK_CHECKER_ON) || \
+ defined(CONFIGURE_STACK_CHECKER_ENABLED) || \
(defined(RTEMS_NEWLIB) && !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY))
rtems_extensions_table Configuration_Initial_Extensions[] = {
#if !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY)
RTEMS_NEWLIB_EXTENSION,
#endif
- #if defined(STACK_CHECKER_ON)
+ #if defined(CONFIGURE_STACK_CHECKER_ENABLED)
RTEMS_STACK_CHECKER_EXTENSION,
#endif
#if defined(CONFIGURE_INITIAL_EXTENSIONS)