diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-29 08:48:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-29 09:03:50 +0200 |
commit | 6c39df7e73356ac18201acf6fe36592a97d2677c (patch) | |
tree | aa6f4b454c96d654d77bdb552ac9ef1ddf3b6d16 /cpukit/score/src/percpujobs.c | |
parent | score: Assert job properties in _Per_CPU_Add_job() (diff) | |
download | rtems-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.c | 2 |
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( |