summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/percpujobs.c
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 /cpukit/score/src/percpujobs.c
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 'cpukit/score/src/percpujobs.c')
-rw-r--r--cpukit/score/src/percpujobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/percpujobs.c b/cpukit/score/src/percpujobs.c
index 2e13fdf71f..f273f7d17d 100644
--- a/cpukit/score/src/percpujobs.c
+++ b/cpukit/score/src/percpujobs.c
@@ -96,7 +96,7 @@ void _Per_CPU_Add_job( Per_CPU_Control *cpu, Per_CPU_Job *job )
void _Per_CPU_Submit_job( Per_CPU_Control *cpu, Per_CPU_Job *job )
{
_Per_CPU_Add_job( cpu, job );
- _SMP_Send_message( _Per_CPU_Get_index( cpu ), SMP_MESSAGE_PERFORM_JOBS );
+ _SMP_Send_message( cpu, SMP_MESSAGE_PERFORM_JOBS );
}
void _Per_CPU_Wait_for_job(