summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-30 23:24:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-30 23:24:48 +0000
commit3dc936c1449ac05ad9053955cb83f9f0ce629eb8 (patch)
tree9300a52427233e58091ea2c302fe0236a1806d9a /testsuites
parent57c67302733aff44c37177dd26badac2c78145a7 (diff)
downloadrtems-3dc936c1449ac05ad9053955cb83f9f0ce629eb8.tar.bz2
2002-07-30 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: Don't reference the RTEMS allocated interrupt stack if the port doesn't configure using it.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/spsize/size.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index b2406ccd32..200eb7868f 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-30 Joel Sherrill <joel@OARcorp.com>
+
+ * spsize/size.c: Don't reference the RTEMS allocated interrupt
+ stack if the port doesn't configure using it.
+
2002-07-04 Joel Sherrill <joel@OARcorp.com>
* Jump table for single entry point removed.
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 395343543c..2390cc6de8 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -398,9 +398,12 @@ uninitialized = 0;
#ifdef __i386__
/* cpu.h */
-uninitialized += (sizeof _CPU_Null_fp_context) +
- (sizeof _CPU_Interrupt_stack_low) +
+uninitialized += (sizeof _CPU_Null_fp_context);
+
+#if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
+uninitialized += (sizeof _CPU_Interrupt_stack_low) +
(sizeof _CPU_Interrupt_stack_high);
+#endif
#endif