diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-04-05 20:08:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-04-05 20:08:59 +0000 |
commit | 5250299424370c42bf270a307fae248d348720cf (patch) | |
tree | 142042ca4670b07804d162aad3f06a932a9bd5d9 /cpukit/score/src/threadmp.c | |
parent | 2006-04-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-5250299424370c42bf270a307fae248d348720cf.tar.bz2 |
2006-04-05 Joel Sherrill <joel@OARcorp.com>
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>
* score/include/rtems/score/mpci.h,
score/include/rtems/score/threadmp.h,
score/inline/rtems/score/threadmp.inl,
score/macros/rtems/score/threadmp.inl, score/src/threadmp.c,
score/src/threadqenqueue.c: Victor spotted the problem that
_MPCI_Receive_server_tcb and _Thread_MP_Receive were duplicate
variables and needed to be set to the same value. I took that
idea and just removed _Thread_MP_Receive. All uses are now
_MPCI_Receive_server_tcb.
Diffstat (limited to 'cpukit/score/src/threadmp.c')
-rw-r--r-- | cpukit/score/src/threadmp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/src/threadmp.c b/cpukit/score/src/threadmp.c index 8b860bef2d..8cac0a99b9 100644 --- a/cpukit/score/src/threadmp.c +++ b/cpukit/score/src/threadmp.c @@ -19,6 +19,7 @@ #include <rtems/system.h> #include <rtems/score/priority.h> #include <rtems/score/thread.h> +#include <rtems/score/mpci.h> #include <rtems/score/wkspace.h> #include <rtems/score/isr.h> @@ -73,12 +74,12 @@ Thread_Control *_Thread_MP_Allocate_proxy ( _Thread_Executing->Wait.return_code = THREAD_STATUS_PROXY_BLOCKING; - the_proxy->receive_packet = _Thread_MP_Receive->receive_packet; + the_proxy->receive_packet = _MPCI_Receive_server_tcb->receive_packet; - the_proxy->Object.id = _Thread_MP_Receive->receive_packet->source_tid; + the_proxy->Object.id = _MPCI_Receive_server_tcb->receive_packet->source_tid; the_proxy->current_priority = - _Thread_MP_Receive->receive_packet->source_priority; + _MPCI_Receive_server_tcb->receive_packet->source_priority; the_proxy->current_state = _States_Set( STATES_DORMANT, the_state ); |