[PATCH 07/25] rtems: Use _Thread_Get_executing()

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 18 14:25:55 UTC 2013


---
 cpukit/rtems/src/taskmode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c
index 7b3233e..d9c7fce 100644
--- a/cpukit/rtems/src/taskmode.c
+++ b/cpukit/rtems/src/taskmode.c
@@ -48,7 +48,7 @@ rtems_status_code rtems_task_mode(
   if ( !previous_mode_set )
     return RTEMS_INVALID_ADDRESS;
 
-  executing     = _Thread_Executing;
+  executing     = _Thread_Get_executing();
   api = executing->API_Extensions[ THREAD_API_RTEMS ];
   asr = &api->Signal;
 
-- 
1.7.7




More information about the devel mailing list