summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp02/tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/smptests/smp02/tasks.c')
-rw-r--r--testsuites/smptests/smp02/tasks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/smptests/smp02/tasks.c b/testsuites/smptests/smp02/tasks.c
index e3ac062e45..4e7a6255c0 100644
--- a/testsuites/smptests/smp02/tasks.c
+++ b/testsuites/smptests/smp02/tasks.c
@@ -21,7 +21,7 @@ void Loop(void) {
void LogSemaphore(
bool obtained,
- int cpu_num,
+ uint32_t cpu_num,
uint32_t task_index
){
if (Log_index < LOG_SIZE) {
@@ -37,10 +37,10 @@ rtems_task Test_task(
rtems_task_argument task_index
)
{
- int cpu_num;
+ uint32_t cpu_num;
rtems_status_code sc;
- cpu_num = bsp_smp_processor_id();
+ cpu_num = rtems_smp_get_current_processor();
do {