summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smpmulticastaction.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-29 08:05:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-29 08:05:26 +0200
commit59168e2ae344cdbfd52f9864812c73aa46ad0c42 (patch)
tree63b5ee7d8c4dcc9e2748c0a10c893210098cea16 /cpukit/score/src/smpmulticastaction.c
parentscore: Return value in _SMP_Process_message() (diff)
downloadrtems-59168e2ae344cdbfd52f9864812c73aa46ad0c42.tar.bz2
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.
Diffstat (limited to 'cpukit/score/src/smpmulticastaction.c')
-rw-r--r--cpukit/score/src/smpmulticastaction.c33
1 files changed, 1 insertions, 32 deletions
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 );
-}