From 59168e2ae344cdbfd52f9864812c73aa46ad0c42 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 29 Jul 2021 08:05:26 +0200 Subject: score: Split SMP multicast action module Split up the SMP multicast action module since the use of the SMP multicast action variants depend on the architecture and BSP. --- cpukit/score/src/smpmulticastaction.c | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'cpukit/score/src/smpmulticastaction.c') diff --git a/cpukit/score/src/smpmulticastaction.c b/cpukit/score/src/smpmulticastaction.c index 03d9e064fe..6b9e9a30db 100644 --- a/cpukit/score/src/smpmulticastaction.c +++ b/cpukit/score/src/smpmulticastaction.c @@ -6,8 +6,7 @@ * @ingroup RTEMSScoreSMP * * @brief This source file contains the implementation of - * _SMP_Broadcast_action(), _SMP_Multicast_action(), _SMP_Othercast_action(), - * and _SMP_Synchronize(). + * _SMP_Multicast_action(). */ /* @@ -108,33 +107,3 @@ void _SMP_Multicast_action( _SMP_Issue_action_jobs( targets, &jobs, cpu_max ); _SMP_Wait_for_action_jobs( targets, &jobs, cpu_max ); } - -void _SMP_Broadcast_action( - SMP_Action_handler handler, - void *arg -) -{ - _SMP_Multicast_action( _SMP_Get_online_processors(), handler, arg ); -} - -void _SMP_Othercast_action( - SMP_Action_handler handler, - void *arg -) -{ - Processor_mask targets; - - _Processor_mask_Assign( &targets, _SMP_Get_online_processors() ); - _Processor_mask_Clear( &targets, _SMP_Get_current_processor() ); - _SMP_Multicast_action( &targets, handler, arg ); -} - -static void _SMP_Do_nothing_action( void *arg ) -{ - /* Do nothing */ -} - -void _SMP_Synchronize( void ) -{ - _SMP_Othercast_action( _SMP_Do_nothing_action, NULL ); -} -- cgit v1.2.3