diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-31 08:33:11 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 10:05:45 +0100 |
commit | 2dd098a6359d9df132da09201ea0506c5389dc80 (patch) | |
tree | 0eb695dc9985894cf796d93ad1249344354f4863 /cpukit/score/src/threadinitialize.c | |
parent | score: Delete Thread_Scheduler_control::own_node (diff) | |
download | rtems-2dd098a6359d9df132da09201ea0506c5389dc80.tar.bz2 |
score: Introduce Thread_Scheduler_control::home
Replace Thread_Scheduler_control::control and
Thread_Scheduler_control::own_control with new
Thread_Scheduler_control::home.
Update #2556.
Diffstat (limited to 'cpukit/score/src/threadinitialize.c')
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index d34cb34313..16c225e929 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -232,8 +232,7 @@ bool _Thread_Initialize( #if defined(RTEMS_SMP) RTEMS_STATIC_ASSERT( THREAD_SCHEDULER_BLOCKED == 0, Scheduler_state ); - the_thread->Scheduler.own_control = scheduler; - the_thread->Scheduler.control = scheduler; + the_thread->Scheduler.home = scheduler; _ISR_lock_Initialize( &the_thread->Scheduler.Lock, "Thread Scheduler" ); _ISR_lock_Initialize( &the_thread->Wait.Lock.Default, "Thread Wait Default" ); _Thread_queue_Gate_open( &the_thread->Wait.Lock.Tranquilizer ); |