diff options
Diffstat (limited to 'cpukit/score/inline/rtems/score')
-rw-r--r-- | cpukit/score/inline/rtems/score/threadmp.inl | 5 |
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; } |