From 6c39df7e73356ac18201acf6fe36592a97d2677c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 29 Jul 2021 08:48:26 +0200 Subject: score: Change _SMP_Send_message() parameter type Use the processor control to specify the target processor since this is what the callers have available. --- cpukit/score/src/percpujobs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/percpujobs.c') 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( -- cgit v1.2.3