sparc: Provide _CPU_Get_thread_executing()

This commit is contained in:
Sebastian Huber
2016-11-04 13:29:00 +01:00
parent df48ed2cba
commit 7790d95f0a

View File

@@ -5,6 +5,8 @@
*/
/*
* Copyright (c) 2016 embedded brains GmbH.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
@@ -21,6 +23,8 @@
extern "C" {
#endif
#define _CPU_Get_thread_executing() ( _SPARC_Per_CPU_current->executing )
#ifdef __cplusplus
}
#endif