summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadmp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-04 15:31:44 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-09 15:27:28 +0100
commit947814cae7832740309faad6c934d8ee3828067c (patch)
treec1313ab657991da1be075f4f62067e4d4243157d /cpukit/score/src/threadmp.c
parentrtems: Fix rtems_task_create() scheduler selection (diff)
downloadrtems-947814cae7832740309faad6c934d8ee3828067c.tar.bz2
mpci: Use the first scheduler for MPCI
Avoid use of processor index 0 which may have no scheduler assigned.
Diffstat (limited to 'cpukit/score/src/threadmp.c')
-rw-r--r--cpukit/score/src/threadmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadmp.c b/cpukit/score/src/threadmp.c
index 9b3a47710d..22078a7d0a 100644
--- a/cpukit/score/src/threadmp.c
+++ b/cpukit/score/src/threadmp.c
@@ -77,7 +77,7 @@ void _Thread_MP_Handler_initialization (
proxy->Scheduler.nodes = &proxy->Scheduler_node;
_Scheduler_Node_do_initialize(
- _Scheduler_Get_by_CPU_index( 0 ),
+ &_Scheduler_Table[ 0 ],
&proxy->Scheduler_node,
(Thread_Control *) proxy,
0