diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-11 11:03:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-23 09:13:00 +0200 |
commit | 2d36931823be8be0c0fdf839f941cf20dd755523 (patch) | |
tree | 49fb0dc77781c44b6f0e3f28e92208e6594144ea /cpukit/score/include/rtems/score/threadimpl.h | |
parent | score: Remove scheduler parameter from most ops (diff) | |
download | rtems-2d36931823be8be0c0fdf839f941cf20dd755523.tar.bz2 |
score: Collect scheduler related fields in TCB
Add Thread_Scheduler_control to collect scheduler related fields of the
TCB.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index 829e445ab8..b602b342de 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -408,7 +408,7 @@ RTEMS_INLINE_ROUTINE Per_CPU_Control *_Thread_Get_CPU( ) { #if defined(RTEMS_SMP) - return thread->cpu; + return thread->Scheduler.cpu; #else (void) thread; @@ -422,7 +422,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Set_CPU( ) { #if defined(RTEMS_SMP) - thread->cpu = cpu; + thread->Scheduler.cpu = cpu; #else (void) thread; (void) cpu; @@ -804,7 +804,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Debug_set_real_processor( ) { #if defined(RTEMS_SMP) && defined(RTEMS_DEBUG) - the_thread->debug_real_cpu = cpu; + the_thread->Scheduler.debug_real_cpu = cpu; #else (void) the_thread; (void) cpu; |