From 4afd6f407816fbac130af4a8e2c8b5e1b76e4580 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 17 Sep 2008 19:30:36 +0000 Subject: 2008-09-17 Joel Sherrill * sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate CONFIGURE_STACK_CHECKER_ENABLED. --- cpukit/ChangeLog | 5 +++++ cpukit/sapi/include/confdefs.h | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 929f5d3056..79f9351476 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-09-17 Joel Sherrill + + * sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate + CONFIGURE_STACK_CHECKER_ENABLED. + 2008-09-17 Joel Sherrill * libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_init.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 #endif #include #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) -- cgit v1.2.3