diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-09 10:58:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-12 09:44:48 +0200 |
commit | df8d7bd76f5014583d6cc20f72f335e5fe2bd0cc (patch) | |
tree | 3d029b3875e7a9bfadd04f00d16557da14c151f1 /cpukit/include/rtems/score | |
parent | score: Use an ISR lock for Per_CPU_Control::Lock (diff) | |
download | rtems-df8d7bd76f5014583d6cc20f72f335e5fe2bd0cc.tar.bz2 |
score: Use processor mask in _SMP_Multicast_action
Processor_mask is the internal data type to deal with processor sets.
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r-- | cpukit/include/rtems/score/smpimpl.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 117b78cb74..6b59b9497d 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -249,20 +249,19 @@ void _SMP_Send_message_multicast( typedef void ( *SMP_Action_handler )( void *arg ); /** - * @brief Initiates an SMP multicast action to a set of processors. + * @brief Initiates an SMP multicast action to a set of target processors. * - * The current processor may be part of the set. + * The current processor may be part of the set. * - * @param[in] setsize The size of the set of target processors of the message. - * @param[in] cpus The set of target processors of the message. - * @param[in] handler The multicast action handler. - * @param[in] arg The multicast action argument. + * @param targets The set of target processors for the action. If @c NULL, + * then the action will be performed on all online processors. + * @param handler The multicast action handler. + * @param arg The multicast action argument. */ void _SMP_Multicast_action( - const size_t setsize, - const cpu_set_t *cpus, - SMP_Action_handler handler, - void *arg + const Processor_mask *targets, + SMP_Action_handler handler, + void *arg ); /** |