summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/mpci.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-04-21 13:08:38 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-04-22 08:37:03 -0500
commit1ed8762ed679386a39f2323218953a68238954a3 (patch)
tree16f8f63d33edfa4e2529ea1c43188804170770eb /cpukit/score/src/mpci.c
parentniagara/Makefile.am: Fix rule for start.o (diff)
downloadrtems-1ed8762ed679386a39f2323218953a68238954a3.tar.bz2
mpci.c: Now compiles again
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r--cpukit/score/src/mpci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index eb633a3aa9..e8a8ba2047 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -23,6 +23,7 @@
#include <rtems/score/interr.h>
#include <rtems/score/stackimpl.h>
#include <rtems/score/sysstate.h>
+#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/config.h>
@@ -105,6 +106,7 @@ void _MPCI_Create_server( void )
_Thread_Initialize(
&_Thread_Internal_information,
_MPCI_Receive_server_tcb,
+ _Scheduler_Get_by_CPU_index( _SMP_Get_current_processor() ),
NULL, /* allocate the stack */
_Stack_Minimum() +
CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK +