diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spsize/size.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 9ecc1c13d3..8215b763e2 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -340,7 +340,11 @@ uninitialized = /*partmp.h*/ 0 + #endif -/*percpu.h*/ (sizeof _Per_CPU_Information) + +#if defined(RTEMS_SMP) +/*percpu.h*/ (_SMP_Processor_count * sizeof(Per_CPU_Control)) + +#else +/*percpu.h*/ (sizeof (Per_CPU_Control) ) + +#endif /*ratemon.h*/ (sizeof _Rate_monotonic_Information) + |