diff options
author | Daniel Cederman <cederman@gaisler.com> | 2014-05-14 10:17:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-14 10:33:28 +0200 |
commit | 774ee0029e88360dd89c016ee342ec56b9cb7d80 (patch) | |
tree | 268c0027660b72d2def0206bddf2a5c5bc9c22b8 | |
parent | bsp/altera-caclone-v: Early printk support (diff) | |
download | rtems-774ee0029e88360dd89c016ee342ec56b9cb7d80.tar.bz2 |
sparc: Change asm to __asm__ to compile with -std=c99.
-rw-r--r-- | 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 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 ) |