summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2014-05-14 10:17:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-14 10:33:28 +0200
commit774ee0029e88360dd89c016ee342ec56b9cb7d80 (patch)
tree268c0027660b72d2def0206bddf2a5c5bc9c22b8 /cpukit/score/cpu/sparc
parentbsp/altera-caclone-v: Early printk support (diff)
downloadrtems-774ee0029e88360dd89c016ee342ec56b9cb7d80.tar.bz2
sparc: Change asm to __asm__ to compile with -std=c99.
Diffstat (limited to 'cpukit/score/cpu/sparc')
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h2
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 b931d2f103..532d8824fc 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 )