diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-12 07:55:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-12 09:44:48 +0200 |
commit | ad40d05eba230a2c7b78cea9b8c612cc84de5b5e (patch) | |
tree | c9df1fcbc393c49e88230afcb129bacee7941e3f /cpukit/score/src/smp.c | |
parent | score: Improve _SMP_Multicast_action() (diff) | |
download | rtems-ad40d05eba230a2c7b78cea9b8c612cc84de5b5e.tar.bz2 |
score: Remove _SMP_Before_multitasking_action()
Use _SMP_Multicast_action() instead.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/smp.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 027c2e81d8..17d6c8bc67 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -253,30 +253,4 @@ void _SMP_Send_message_multicast( } } -bool _SMP_Before_multitasking_action_broadcast( - SMP_Action_handler handler, - void *arg -) -{ - bool done; - uint32_t cpu_max; - uint32_t cpu_index; - - done = true; - cpu_max = _SMP_Get_processor_maximum(); - - for ( cpu_index = 0 ; done && cpu_index < cpu_max ; ++cpu_index ) { - Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index ); - - if ( - !_Per_CPU_Is_boot_processor( cpu ) - && _Per_CPU_Is_processor_online( cpu ) - ) { - done = _SMP_Before_multitasking_action( cpu, handler, arg ); - } - } - - return done; -} - SMP_Test_message_handler _SMP_Test_message_handler; |