summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp08/tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smp08/tasks.c')
-rw-r--r--testsuites/smptests/smp08/tasks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smp08/tasks.c b/testsuites/smptests/smp08/tasks.c
index 762120c78f..96d25de86e 100644
--- a/testsuites/smptests/smp08/tasks.c
+++ b/testsuites/smptests/smp08/tasks.c
@@ -21,7 +21,7 @@ rtems_task Test_task(
rtems_time_of_day time;
uint32_t task_index;
rtems_status_code status;
- int cpu_num;
+ uint32_t cpu_num;
char name[5];
char *p;
@@ -34,7 +34,7 @@ rtems_task Test_task(
for ( ; ; ) {
/* Get the CPU Number */
- cpu_num = bsp_smp_processor_id();
+ cpu_num = rtems_smp_get_current_processor();
status = rtems_clock_get_tod( &time );
if ( time.second >= 35 ) {