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 /cpukit/libmisc/stackchk/check.c | |
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 '')
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 297f161752..c0e01728c0 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/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 |