From 7fdf48aaf241cb050607a8aa441ff19a34a7ddb7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 28 Apr 2019 14:29:21 +0200 Subject: score: Add _SMP_Othercast_action() --- cpukit/score/src/smpmulticastaction.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/smpmulticastaction.c b/cpukit/score/src/smpmulticastaction.c index b703ba14a7..f7dd503fae 100644 --- a/cpukit/score/src/smpmulticastaction.c +++ b/cpukit/score/src/smpmulticastaction.c @@ -258,3 +258,15 @@ void _SMP_Broadcast_action( { _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 ); +} -- cgit v1.2.3