From df8d7bd76f5014583d6cc20f72f335e5fe2bd0cc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 9 Apr 2019 10:58:35 +0200 Subject: score: Use processor mask in _SMP_Multicast_action Processor_mask is the internal data type to deal with processor sets. --- cpukit/include/rtems/score/smpimpl.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'cpukit/include/rtems/score') 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 ); /** -- cgit v1.2.3