[PATCH 1/1] sparc: Change asm to __asm__ to compile with -std=c99.
Daniel Cederman
cederman at gaisler.com
Wed May 14 08:17:47 UTC 2014
---
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 )
--
1.7.9.5
More information about the devel
mailing list