[PATCH 1/3] score: Use consistent type for SMP messages

Daniel Cederman cederman at gaisler.com
Thu Jul 3 09:37:26 UTC 2014


---
 cpukit/score/include/rtems/score/smpimpl.h |    2 +-
 cpukit/score/src/smp.c                     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/include/rtems/score/smpimpl.h b/cpukit/score/include/rtems/score/smpimpl.h
index e2fee39..ba16c8f 100644
--- a/cpukit/score/include/rtems/score/smpimpl.h
+++ b/cpukit/score/include/rtems/score/smpimpl.h
@@ -159,7 +159,7 @@ static inline void _SMP_Inter_processor_interrupt_handler( void )
  *  @param[in] cpu_index The target processor of the message.
  *  @param[in] message The message.
  */
-void _SMP_Send_message( uint32_t cpu_index, unsigned long message );
+void _SMP_Send_message( uint32_t cpu_index, uint32_t message );
 
 /**
  *  @brief Request of others CPUs.
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index f0554fe..59448a0 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -153,7 +153,7 @@ void _SMP_Request_shutdown( void )
   _Giant_Drop( self_cpu );
 }
 
-void _SMP_Send_message( uint32_t cpu_index, unsigned long message )
+void _SMP_Send_message( uint32_t cpu_index, uint32_t message )
 {
   Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );
 
-- 
1.7.9.5



More information about the devel mailing list