summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/percpu.c')
-rw-r--r--cpukit/score/src/percpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c
index 4a93fd83d1..7027093577 100644
--- a/cpukit/score/src/percpu.c
+++ b/cpukit/score/src/percpu.c
@@ -46,7 +46,7 @@
*/
size = rtems_configuration_get_interrupt_stack_size();
_Per_CPU_Information_p[0] = &_Per_CPU_Information[0];
- for (cpu=1 ; cpu < rtems_configuration_smp_maximum_processors; cpu++ ) {
+ for (cpu=1 ; cpu < rtems_configuration_get_maximum_processors(); cpu++ ) {
Per_CPU_Control *p = &_Per_CPU_Information[cpu];