summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpatomic07/tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smpatomic07/tasks.c')
-rw-r--r--testsuites/smptests/smpatomic07/tasks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/smptests/smpatomic07/tasks.c b/testsuites/smptests/smpatomic07/tasks.c
index 21802d650f..308498a1a4 100644
--- a/testsuites/smptests/smpatomic07/tasks.c
+++ b/testsuites/smptests/smpatomic07/tasks.c
@@ -58,7 +58,7 @@ rtems_task Test_task(
rtems_task_argument argument
)
{
- int cpu_num;
+ uint32_t cpu_num;
char name[5];
char *p;
@@ -67,7 +67,7 @@ rtems_task Test_task(
rtems_test_assert( p != NULL );
/* Get the CPU Number */
- cpu_num = bsp_smp_processor_id();
+ cpu_num = rtems_smp_get_current_processor();
/* Print that the task is up and running. */
/* test relaxed barrier */