summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smplock01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smplock01/init.c')
-rw-r--r--testsuites/smptests/smplock01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smplock01/init.c b/testsuites/smptests/smplock01/init.c
index 88ef985386..2fcc507698 100644
--- a/testsuites/smptests/smplock01/init.c
+++ b/testsuites/smptests/smplock01/init.c
@@ -298,7 +298,7 @@ static void run_tests(
static void task(rtems_task_argument arg)
{
global_context *ctx = (global_context *) arg;
- int cpu_count = (int) rtems_smp_get_number_of_processors();
+ int cpu_count = (int) rtems_smp_get_processor_count();
int cpu_self = rtems_smp_get_current_processor();
rtems_status_code sc;
barrier_state bs = BARRIER_STATE_INITIALIZER;
@@ -312,7 +312,7 @@ static void task(rtems_task_argument arg)
static void test(void)
{
global_context *ctx = &context;
- int cpu_count = (int) rtems_smp_get_number_of_processors();
+ int cpu_count = (int) rtems_smp_get_processor_count();
int cpu_self = rtems_smp_get_current_processor();
int cpu;
int test;