summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-18 06:47:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-05-20 08:49:39 +0200
commit658700449de9d67d8571b707eec50c06fdfb9455 (patch)
tree3c2c502dab87383f390f185ca7aeb920e0563b7d /cpukit/score
parentsmptests: Move SMP broadcast action test case (diff)
downloadrtems-658700449de9d67d8571b707eec50c06fdfb9455.tar.bz2
score: Add _SMP_Broadcast_action()
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/src/smpmulticastaction.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/score/src/smpmulticastaction.c b/cpukit/score/src/smpmulticastaction.c
index ea430e8e7c..b703ba14a7 100644
--- a/cpukit/score/src/smpmulticastaction.c
+++ b/cpukit/score/src/smpmulticastaction.c
@@ -233,10 +233,6 @@ void _SMP_Multicast_action(
cpu_max = _SMP_Get_processor_maximum();
_Assert( cpu_max <= CPU_MAXIMUM_PROCESSORS );
- if ( targets == NULL ) {
- targets = _SMP_Get_online_processors();
- }
-
jobs.handler = handler;
jobs.arg = arg;
isr_level = _ISR_Get_level();
@@ -254,3 +250,11 @@ void _SMP_Multicast_action(
_Thread_Dispatch_enable( cpu_self );
}
}
+
+void _SMP_Broadcast_action(
+ SMP_Action_handler handler,
+ void *arg
+)
+{
+ _SMP_Multicast_action( _SMP_Get_online_processors(), handler, arg );
+}