[rtems commit] sparc: Change asm to __asm__ to compile with -std=c99.
Sebastian Huber
sebh at rtems.org
Wed May 14 08:25:40 UTC 2014
Module: rtems
Branch: master
Commit: 774ee0029e88360dd89c016ee342ec56b9cb7d80
Changeset: http://git.rtems.org/rtems/commit/?id=774ee0029e88360dd89c016ee342ec56b9cb7d80
Author: Daniel Cederman <cederman at gaisler.com>
Date: Wed May 14 10:17:47 2014 +0200
sparc: Change asm to __asm__ to compile with -std=c99.
---
cpukit/score/cpu/sparc/rtems/score/cpu.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 )
More information about the vc
mailing list