[rtems commit] mpci.c: Now compiles again

Joel Sherrill joel at rtems.org
Tue Apr 22 20:04:23 UTC 2014


Module:    rtems
Branch:    master
Commit:    1ed8762ed679386a39f2323218953a68238954a3
Changeset: http://git.rtems.org/rtems/commit/?id=1ed8762ed679386a39f2323218953a68238954a3

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Apr 21 13:08:38 2014 -0500

mpci.c: Now compiles again

---

 cpukit/score/src/mpci.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index eb633a3..e8a8ba2 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 +




More information about the vc mailing list