From e1598a616db1e9dadfd74abeb20b1f1ec5daaa7f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 4 Apr 2014 10:56:36 +0200 Subject: score: Static scheduler configuration Do not allocate the scheduler control structures from the workspace. This is a preparation step for configuration of clustered/partitioned schedulers on SMP. --- cpukit/score/src/schedulerpriorityyield.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/score/src/schedulerpriorityyield.c') diff --git a/cpukit/score/src/schedulerpriorityyield.c b/cpukit/score/src/schedulerpriorityyield.c index 2bcefa5eb7..63b344ace7 100644 --- a/cpukit/score/src/schedulerpriorityyield.c +++ b/cpukit/score/src/schedulerpriorityyield.c @@ -23,8 +23,8 @@ #include void _Scheduler_priority_Yield( - Scheduler_Control *base, - Thread_Control *the_thread + const Scheduler_Control *scheduler, + Thread_Control *the_thread ) { Scheduler_priority_Per_thread *sched_info_of_thread = @@ -32,7 +32,7 @@ void _Scheduler_priority_Yield( Chain_Control *ready_chain = sched_info_of_thread->ready_chain; ISR_Level level; - (void) base; + (void) scheduler; _ISR_Disable( level ); if ( !_Chain_Has_only_one_node( ready_chain ) ) { -- cgit v1.2.3