summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmulticast01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-29 08:48:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-29 09:03:50 +0200
commit6c39df7e73356ac18201acf6fe36592a97d2677c (patch)
treeaa6f4b454c96d654d77bdb552ac9ef1ddf3b6d16 /testsuites/smptests/smpmulticast01
parentscore: Assert job properties in _Per_CPU_Add_job() (diff)
downloadrtems-6c39df7e73356ac18201acf6fe36592a97d2677c.tar.bz2
score: Change _SMP_Send_message() parameter type
Use the processor control to specify the target processor since this is what the callers have available.
Diffstat (limited to '')
-rw-r--r--testsuites/smptests/smpmulticast01/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c
index fbe6fb6abf..4163dd8370 100644
--- a/testsuites/smptests/smpmulticast01/init.c
+++ b/testsuites/smptests/smpmulticast01/init.c
@@ -466,7 +466,7 @@ T_TEST_CASE(JobOrder)
}
T_step(0);
- _SMP_Send_message(_Per_CPU_Get_index(cpu_self), SMP_MESSAGE_PERFORM_JOBS);
+ _SMP_Send_message(cpu_self, SMP_MESSAGE_PERFORM_JOBS);
_Thread_Dispatch_enable(cpu_self);
}
@@ -505,9 +505,9 @@ T_TEST_CASE(AddJobInJob)
_Per_CPU_Add_job(cpu_self, &add_job_in_job_jobs[0]);
T_step(0);
- _SMP_Send_message(_Per_CPU_Get_index(cpu_self), SMP_MESSAGE_PERFORM_JOBS);
+ _SMP_Send_message(cpu_self, SMP_MESSAGE_PERFORM_JOBS);
T_step(2);
- _SMP_Send_message(_Per_CPU_Get_index(cpu_self), SMP_MESSAGE_PERFORM_JOBS);
+ _SMP_Send_message(cpu_self, SMP_MESSAGE_PERFORM_JOBS);
_Thread_Dispatch_enable(cpu_self);
}