[PATCH-V2 2/7] score: Rename SMP broadcast message function
Daniel Cederman
cederman at gaisler.com
Wed Jul 9 07:02:14 UTC 2014
Change message type to unsigned long to match other SMP message functions.
---
cpukit/score/include/rtems/score/smpimpl.h | 4 ++--
cpukit/score/src/smp.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/smpimpl.h b/cpukit/score/include/rtems/score/smpimpl.h
index d49f88f..cbc6428 100644
--- a/cpukit/score/include/rtems/score/smpimpl.h
+++ b/cpukit/score/include/rtems/score/smpimpl.h
@@ -171,8 +171,8 @@ void _SMP_Send_message( uint32_t cpu_index, unsigned long message );
*
* @param [in] message is message to send
*/
-void _SMP_Broadcast_message(
- uint32_t message
+void _SMP_Send_message_broadcast(
+ unsigned long message
);
/**
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index 7140664..09246e3 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -162,7 +162,7 @@ void _SMP_Send_message( uint32_t cpu_index, unsigned long message )
_CPU_SMP_Send_interrupt( cpu_index );
}
-void _SMP_Broadcast_message( uint32_t message )
+void _SMP_Send_message_broadcast( unsigned long message )
{
uint32_t cpu_count = _SMP_Get_processor_count();
uint32_t cpu_index_self = _SMP_Get_current_processor();
--
1.7.9.5
More information about the devel
mailing list