[PATCH 1/1] sparc: Change asm to __asm__ to compile with -std=c99.

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 14 08:34:06 UTC 2014


On 2014-05-14 10:17, Daniel Cederman wrote:
> ---
>   cpukit/score/cpu/sparc/rtems/score/cpu.h |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
> index b931d2f..532d882 100644
> --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
> +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
> @@ -1181,7 +1181,7 @@ void _CPU_Context_restore(
>    * @brief The pointer to the current per-CPU control is available via register
>    * g6.
>    */
> -register struct Per_CPU_Control *_SPARC_Per_CPU_current asm( "g6" );
> +register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" );
>
>   #define _CPU_Get_current_per_CPU_control() ( _SPARC_Per_CPU_current )
>
>

Thanks, patch applied.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list