summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-04-07 01:16:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-04-07 01:16:32 +0000
commit5fbb909775f6900fcde3ae3502cd9a0feb435d9c (patch)
tree9b1c0f16ac5ba09fc0ad43db4569379326c981da /cpukit
parentFix formatting. (diff)
downloadrtems-5fbb909775f6900fcde3ae3502cd9a0feb435d9c.tar.bz2
* score/inline/rtems/score/threadmp.inl,
score/macros/rtems/score/threadmp.inl: Fix compile error.
Diffstat (limited to 'cpukit')
-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)