summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog3
-rw-r--r--cpukit/score/inline/rtems/score/threadmp.inl1
-rw-r--r--cpukit/score/macros/rtems/score/threadmp.inl1
3 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 2fc654c877..8bbd1edf55 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -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>
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>
diff --git a/cpukit/score/inline/rtems/score/threadmp.inl b/cpukit/score/inline/rtems/score/threadmp.inl
index 8299ce82cb..582384fcac 100644
--- a/cpukit/score/inline/rtems/score/threadmp.inl
+++ b/cpukit/score/inline/rtems/score/threadmp.inl
@@ -33,6 +33,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_MP_Is_receive (
Thread_Control *the_thread
)
{
+ extern Thread_Control *_MPCI_Receive_server_tcb;
return the_thread == _MPCI_Receive_server_tcb;
}
diff --git a/cpukit/score/macros/rtems/score/threadmp.inl b/cpukit/score/macros/rtems/score/threadmp.inl
index b1c2456c35..94c261f912 100644
--- a/cpukit/score/macros/rtems/score/threadmp.inl
+++ b/cpukit/score/macros/rtems/score/threadmp.inl
@@ -22,6 +22,7 @@
*
*/
+extern Thread_Control *_MPCI_Receive_server_tcb;
#define _Thread_MP_Is_receive( _the_thread ) \
( (_the_thread) == _MPCI_Receive_server_tcb)