* score/inline/rtems/score/threadmp.inl,

score/macros/rtems/score/threadmp.inl: Fix compile error.
This commit is contained in:
Joel Sherrill
2006-04-07 01:16:32 +00:00
parent 73ad88072a
commit 5fbb909775
3 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
* score/inline/rtems/score/threadmp.inl,
score/macros/rtems/score/threadmp.inl: Fix compile error.
2006-04-05 Joel Sherrill <joel@OARcorp.com> 2006-04-05 Joel Sherrill <joel@OARcorp.com>
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru> Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>

View File

@@ -33,6 +33,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_MP_Is_receive (
Thread_Control *the_thread Thread_Control *the_thread
) )
{ {
extern Thread_Control *_MPCI_Receive_server_tcb;
return the_thread == _MPCI_Receive_server_tcb; return the_thread == _MPCI_Receive_server_tcb;
} }

View File

@@ -22,6 +22,7 @@
* *
*/ */
extern Thread_Control *_MPCI_Receive_server_tcb;
#define _Thread_MP_Is_receive( _the_thread ) \ #define _Thread_MP_Is_receive( _the_thread ) \
( (_the_thread) == _MPCI_Receive_server_tcb) ( (_the_thread) == _MPCI_Receive_server_tcb)