diff options
Diffstat (limited to 'cpukit/score/src/threadmp.c')
-rw-r--r-- | cpukit/score/src/threadmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/threadmp.c b/cpukit/score/src/threadmp.c index cbb6c1c6b1..49e1c27979 100644 --- a/cpukit/score/src/threadmp.c +++ b/cpukit/score/src/threadmp.c @@ -80,6 +80,7 @@ void _Thread_MP_Handler_initialization ( #endif proxy->Scheduler.node = &proxy->Scheduler_node; _Scheduler_Node_do_initialize( + _Scheduler_Get_by_CPU_index( 0 ), &proxy->Scheduler_node, (Thread_Control *) proxy, 0 @@ -150,7 +151,7 @@ Thread_Control *_Thread_MP_Allocate_proxy ( the_proxy->receive_packet = receive_packet; the_proxy->Object.id = source_tid; - the_proxy->current_priority = receive_packet->source_priority; + the_proxy->Real_priority.priority = receive_packet->source_priority; the_proxy->current_state = _States_Set( STATES_DORMANT, the_state ); the_proxy->Wait.count = executing->Wait.count; |