diff options
Diffstat (limited to 'testsuites/sptests/spsize/size.c')
-rw-r--r-- | testsuites/sptests/spsize/size.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 |