summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersmpstartidle.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-14 10:17:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-31 08:29:42 +0200
commita5ac9da30737a3aeb2dcb0462a4eba25cb525253 (patch)
tree7bb4abcb4d350aa9618be52ceb942f63835bc6fc /cpukit/score/src/schedulersmpstartidle.c
parentscore: Add _Scheduler_Change_priority_if_higher() (diff)
downloadrtems-a5ac9da30737a3aeb2dcb0462a4eba25cb525253.tar.bz2
score: Add and use thread get/set CPU functions
Diffstat (limited to 'cpukit/score/src/schedulersmpstartidle.c')
-rw-r--r--cpukit/score/src/schedulersmpstartidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulersmpstartidle.c b/cpukit/score/src/schedulersmpstartidle.c
index db98c99b40..75d1c8f8f5 100644
--- a/cpukit/score/src/schedulersmpstartidle.c
+++ b/cpukit/score/src/schedulersmpstartidle.c
@@ -35,6 +35,6 @@ void _Scheduler_SMP_Start_idle(
Scheduler_SMP_Control *self = _Scheduler_SMP_Instance();
thread->is_scheduled = true;
- thread->cpu = cpu;
+ _Thread_Set_CPU( thread, cpu );
_Chain_Append_unprotected( &self->scheduled, &thread->Object.Node );
}