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

Joel Sherrill joel.sherrill at oarcorp.com
Thu Jul 3 15:26:08 UTC 2014


I assume this is just fixing the types to match the
assumed prototype.

This needs a comment but if that's the intent, it is
OK.

On 7/3/2014 4:37 AM, Daniel Cederman wrote:
> ---
>  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 );
>  

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list