summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/threadmp.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-19 13:18:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-19 13:18:40 +0000
commit55cf0bf2a5b81714eaa8c7ab79c4e3447d0f250f (patch)
tree103ac8a1b8d0d92a2f14093c2458687b7f4aba39 /cpukit/score/inline/rtems/score/threadmp.inl
parent2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-55cf0bf2a5b81714eaa8c7ab79c4e3447d0f250f.tar.bz2
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/threadmp.inl: Add include of rtems/score/mpci.h and remove extern.
Diffstat (limited to 'cpukit/score/inline/rtems/score/threadmp.inl')
-rw-r--r--cpukit/score/inline/rtems/score/threadmp.inl5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/score/inline/rtems/score/threadmp.inl b/cpukit/score/inline/rtems/score/threadmp.inl
index 6a58553282..c9cdb97c3f 100644
--- a/cpukit/score/inline/rtems/score/threadmp.inl
+++ b/cpukit/score/inline/rtems/score/threadmp.inl
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2004.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,6 +20,8 @@
# error "Never use <rtems/score/threadmp.inl> directly; include <rtems/score/threadmp.h> instead."
#endif
+#include <rtems/score/mpci.h>
+
#ifndef _RTEMS_SCORE_THREADMP_INL
#define _RTEMS_SCORE_THREADMP_INL
@@ -37,7 +39,6 @@ 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;
}