summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spsize/size.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-07 18:23:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-07 18:23:54 +0000
commit02d989c0efbb65b59226f77fa5ed536308627d8f (patch)
tree2906b5ce117e693de449ee39bdb41430a6eed31b /testsuites/sptests/spsize/size.c
parent2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-02d989c0efbb65b59226f77fa5ed536308627d8f.tar.bz2
2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when multiprocessing is not enabled. Saves one more variable from single processor configuration.
Diffstat (limited to 'testsuites/sptests/spsize/size.c')
-rw-r--r--testsuites/sptests/spsize/size.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 9ba23c3cb1..7c21913d93 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -336,8 +336,10 @@ uninitialized =
/*status.h*/ 0 +
-/*sysstate.h*/ (sizeof _System_state_Is_multiprocessing) +
- (sizeof _System_state_Current) +
+/*sysstate.h*/ (sizeof _System_state_Current) +
+#if defined(RTEMS_MULTIPROCESSING)
+ (sizeof _System_state_Is_multiprocessing) +
+#endif
#if defined(RTEMS_MULTIPROCESSING)
/*taskmp.h*/ 0 +