diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-07-30 23:24:30 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-07-30 23:24:30 +0000 |
commit | 57c67302733aff44c37177dd26badac2c78145a7 (patch) | |
tree | 35a7f9f5674a1a2d0e9cb15c4068902a536e5247 /c/src/libmisc | |
parent | 2002-07-30 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-57c67302733aff44c37177dd26badac2c78145a7.tar.bz2 |
2002-07-30 Joel Sherrill <joel@OARcorp.com>
* stackchk/check.c: Don't reference the RTEMS allocated interrupt
stack if the port doesn't configure using it.
Diffstat (limited to 'c/src/libmisc')
-rw-r--r-- | c/src/libmisc/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/libmisc/stackchk/check.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog index 883a0a833e..a8ff87e9d3 100644 --- a/c/src/libmisc/ChangeLog +++ b/c/src/libmisc/ChangeLog @@ -1,3 +1,8 @@ +2002-07-30 Joel Sherrill <joel@OARcorp.com> + + * stackchk/check.c: Don't reference the RTEMS allocated interrupt + stack if the port doesn't configure using it. + 2002-07-24 Joel Sherrill <joel@OARcorp.com> * wrapup/Makefile.am: Temporarily don't include serdbg since it diff --git a/c/src/libmisc/stackchk/check.c b/c/src/libmisc/stackchk/check.c index 297f161752..c0e01728c0 100644 --- a/c/src/libmisc/stackchk/check.c +++ b/c/src/libmisc/stackchk/check.c @@ -223,6 +223,7 @@ void Stack_check_Initialize( void ) * If appropriate, setup the interrupt stack for high water testing * also. */ +#if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) { stack_check_interrupt_stack.area = _CPU_Interrupt_stack_low; @@ -231,6 +232,7 @@ void Stack_check_Initialize( void ) stack_check_dope_stack(&stack_check_interrupt_stack); } +#endif #ifdef DONT_USE_FATAL_EXTENSION #ifdef RTEMS_DEBUG |