summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpclock01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpclock01/init.c')
-rw-r--r--testsuites/smptests/smpclock01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpclock01/init.c b/testsuites/smptests/smpclock01/init.c
index 4887ec20e7..109d4bae34 100644
--- a/testsuites/smptests/smpclock01/init.c
+++ b/testsuites/smptests/smpclock01/init.c
@@ -161,7 +161,7 @@ static void Init(rtems_task_argument arg)
rtems_resource_snapshot_take(&snapshot);
- if (rtems_get_processor_count() == CPU_COUNT) {
+ if (rtems_scheduler_get_processor_maximum() == CPU_COUNT) {
test();
}