summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerpriorityallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulerpriorityallocate.c')
-rw-r--r--cpukit/score/src/schedulerpriorityallocate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerpriorityallocate.c b/cpukit/score/src/schedulerpriorityallocate.c
index bbf08597c5..2225d3ddfc 100644
--- a/cpukit/score/src/schedulerpriorityallocate.c
+++ b/cpukit/score/src/schedulerpriorityallocate.c
@@ -23,12 +23,15 @@
#include <rtems/score/wkspace.h>
void *_Scheduler_priority_Allocate (
- Thread_Control *the_thread
+ Scheduler_Control *scheduler,
+ Thread_Control *the_thread
)
{
Scheduler_priority_Per_thread *sched_info_of_thread =
_Workspace_Allocate( sizeof( *sched_info_of_thread ) );
+ (void) scheduler;
+
the_thread->scheduler_info = sched_info_of_thread;
return sched_info_of_thread;