forked from Imagelibrary/rtems
sparc: Change asm to __asm__ to compile with -std=c99.
This commit is contained in:
committed by
Sebastian Huber
parent
c8b7b32329
commit
774ee0029e
@@ -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 )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user