All uses were replaced by per-processor jobs. --- cpukit/include/rtems/score/smpimpl.h | 32 +------------------------------- cpukit/score/src/smp.c | 2 -- 2 files changed, 1 insertion(+), 33 deletions(-)
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 1b7841630b..c0fe7a03e2 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -43,19 +43,12 @@ extern "C" { */ #define SMP_MESSAGE_SHUTDOWN 0x1UL -/** - * @brief SMP message to request a test handler invocation. - * - * @see _SMP_Send_message(). - */ -#define SMP_MESSAGE_TEST 0x2UL - /** * @brief SMP message to perform per-processor jobs. * * @see _SMP_Send_message(). */ -#define SMP_MESSAGE_PERFORM_JOBS 0x4UL +#define SMP_MESSAGE_PERFORM_JOBS 0x2UL /** * @brief SMP fatal codes. @@ -136,25 +129,6 @@ void _SMP_Start_multitasking_on_secondary_processor( Per_CPU_Control *cpu_self ) RTEMS_NO_RETURN; -typedef void ( *SMP_Test_message_handler )( Per_CPU_Control *cpu_self ); - -extern SMP_Test_message_handler _SMP_Test_message_handler; - -/** - * @brief Sets the handler for test messages. - * - * This handler can be used to test the inter-processor interrupt - * implementation. - * - * @param handler The handler for text messages. - */ -static inline void _SMP_Set_test_message_handler( - SMP_Test_message_handler handler -) -{ - _SMP_Test_message_handler = handler; -} - /** * @brief Interrupts handler for inter-processor interrupts. * @@ -186,10 +160,6 @@ static inline long unsigned _SMP_Inter_processor_interrupt_handler( /* does not continue past here */ } - if ( ( message & SMP_MESSAGE_TEST ) != 0 ) { - ( *_SMP_Test_message_handler )( cpu_self ); - } - if ( ( message & SMP_MESSAGE_PERFORM_JOBS ) != 0 ) { _Per_CPU_Perform_jobs( cpu_self ); } diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 17d6c8bc67..306d1ea4b4 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -252,5 +252,3 @@ void _SMP_Send_message_multicast( } } } - -SMP_Test_message_handler _SMP_Test_message_handler; -- 2.16.4 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel