From ad40d05eba230a2c7b78cea9b8c612cc84de5b5e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 12 Apr 2019 07:55:31 +0200 Subject: score: Remove _SMP_Before_multitasking_action() Use _SMP_Multicast_action() instead. --- cpukit/include/rtems/score/percpu.h | 8 ------- cpukit/include/rtems/score/smpimpl.h | 44 ------------------------------------ 2 files changed, 52 deletions(-) (limited to 'cpukit/include/rtems') diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h index cd7713db6d..589d2ab63d 100644 --- a/cpukit/include/rtems/score/percpu.h +++ b/cpukit/include/rtems/score/percpu.h @@ -488,14 +488,6 @@ typedef struct Per_CPU_Control { */ Per_CPU_State state; - /** - * @brief Action to be executed by this processor in the - * SYSTEM_STATE_BEFORE_MULTITASKING state on behalf of the boot processor. - * - * @see _SMP_Before_multitasking_action(). - */ - Atomic_Uintptr before_multitasking_action; - /** * @brief FIFO list of jobs to be performed by this processor. * diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 9d76eb5a23..d769565b9d 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -260,50 +260,6 @@ void _SMP_Multicast_action( void *arg ); -/** - * @brief Executes a handler with argument on the specified processor on behalf - * of the boot processor. - * - * The calling processor must be the boot processor. In case the specified - * processor is not online or not in the - * PER_CPU_STATE_READY_TO_START_MULTITASKING state, then no action is - * performed. - * - * @param cpu The processor to execute the action. - * @param handler The handler of the action. - * @param arg The argument of the action. - * - * @retval true The handler executed on the specified processor. - * @retval false Otherwise. - * - * @see _SMP_Before_multitasking_action_broadcast(). - */ -bool _SMP_Before_multitasking_action( - Per_CPU_Control *cpu, - SMP_Action_handler handler, - void *arg -); - -/** - * @brief Executes a handler with argument on all online processors except the - * boot processor on behalf of the boot processor. - * - * The calling processor must be the boot processor. - * - * @param handler The handler of the action. - * @param arg The argument of the action. - * - * @retval true The handler executed on all online processors except the boot - * processor. - * @retval false Otherwise. - * - * @see _SMP_Before_multitasking_action(). - */ -bool _SMP_Before_multitasking_action_broadcast( - SMP_Action_handler handler, - void *arg -); - #endif /* defined( RTEMS_SMP ) */ /** -- cgit v1.2.3