diff options
Diffstat (limited to 'cpukit/score/src/schedulercbsallocate.c')
-rw-r--r-- | cpukit/score/src/schedulercbsallocate.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulercbsallocate.c b/cpukit/score/src/schedulercbsallocate.c index a1ac5771ff..908ea90933 100644 --- a/cpukit/score/src/schedulercbsallocate.c +++ b/cpukit/score/src/schedulercbsallocate.c @@ -26,12 +26,15 @@ #include <rtems/score/wkspace.h> void *_Scheduler_CBS_Allocate( - Thread_Control *the_thread + Scheduler_Control *scheduler, + Thread_Control *the_thread ) { void *sched; Scheduler_CBS_Per_thread *schinfo; + (void) scheduler; + sched = _Workspace_Allocate(sizeof(Scheduler_CBS_Per_thread)); if ( sched ) { the_thread->scheduler_info = sched; |