[rtems commit] schedulerpriorityaffinitysmp.h: Fix compilation error introduced by recent changes

Joel Sherrill joel at rtems.org
Fri Apr 4 14:16:55 UTC 2014


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Apr  4 09:24:44 2014 -0500

schedulerpriorityaffinitysmp.h: Fix compilation error introduced by recent changes

---

 .../rtems/score/schedulerpriorityaffinitysmp.h     |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h b/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
index 8f9d081..9716b12 100644
--- a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
+++ b/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
@@ -73,10 +73,14 @@ extern "C" {
  *
  *  This routine allocates @a the_thread->scheduler.
  *
+ *  @param[in] scheduler points to the scheduler specific information.
  *  @param[in] the_thread is the thread the scheduler is allocating
- *             management memory for
+ *             management memory for.
  */
-void * _Scheduler_priority_affinity_SMP_Allocate( Thread_Control *the_thread );
+void * _Scheduler_priority_affinity_SMP_Allocate(
+  Scheduler_Control *scheduler,
+  Thread_Control    *the_thread
+);
 
 /**
  * @brief Get affinity for the priority affinity smp scheduler.




More information about the vc mailing list