diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-21 14:41:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 10:05:44 +0100 |
commit | 0e754facf49586b4477e07883d3a3a97f99cd57f (patch) | |
tree | d404ac3f650b776240dd4aac064d266bb807005b /cpukit/score/src | |
parent | score: Simplify update priority scheduler op (diff) | |
download | rtems-0e754facf49586b4477e07883d3a3a97f99cd57f.tar.bz2 |
score: Delete unused scheduler ask for help X op
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/schedulerdefaultaskforhelp.c | 13 | ||||
-rw-r--r-- | cpukit/score/src/schedulerpriorityaffinitysmp.c | 20 | ||||
-rw-r--r-- | cpukit/score/src/schedulerprioritysmp.c | 16 | ||||
-rw-r--r-- | cpukit/score/src/schedulersimplesmp.c | 16 | ||||
-rw-r--r-- | cpukit/score/src/schedulerstrongapa.c | 16 |
5 files changed, 0 insertions, 81 deletions
diff --git a/cpukit/score/src/schedulerdefaultaskforhelp.c b/cpukit/score/src/schedulerdefaultaskforhelp.c index 9219a02153..94ec2e213d 100644 --- a/cpukit/score/src/schedulerdefaultaskforhelp.c +++ b/cpukit/score/src/schedulerdefaultaskforhelp.c @@ -48,16 +48,3 @@ void _Scheduler_default_Withdraw_node( (void) node; (void) next_state; } - -Thread_Control *_Scheduler_default_Ask_for_help_X( - const Scheduler_Control *scheduler, - Thread_Control *offers_help, - Thread_Control *needs_help -) -{ - (void) scheduler; - (void) offers_help; - (void) needs_help; - - return NULL; -} diff --git a/cpukit/score/src/schedulerpriorityaffinitysmp.c b/cpukit/score/src/schedulerpriorityaffinitysmp.c index c1cc5be7c0..91f9c3b00f 100644 --- a/cpukit/score/src/schedulerpriorityaffinitysmp.c +++ b/cpukit/score/src/schedulerpriorityaffinitysmp.c @@ -593,26 +593,6 @@ void _Scheduler_priority_affinity_SMP_Withdraw_node( ); } -Thread_Control *_Scheduler_priority_affinity_SMP_Ask_for_help_X( - const Scheduler_Control *scheduler, - Thread_Control *offers_help, - Thread_Control *needs_help -) -{ - Scheduler_Context *context = _Scheduler_Get_context( scheduler ); - - needs_help = _Scheduler_SMP_Ask_for_help_X( - context, - offers_help, - needs_help, - _Scheduler_priority_affinity_SMP_Enqueue_fifo - ); - - _Scheduler_priority_affinity_SMP_Check_for_migrations( context ); - - return needs_help; -} - /* * This is the public scheduler specific Change Priority operation. */ diff --git a/cpukit/score/src/schedulerprioritysmp.c b/cpukit/score/src/schedulerprioritysmp.c index 4b8398a96e..fac2b6da7e 100644 --- a/cpukit/score/src/schedulerprioritysmp.c +++ b/cpukit/score/src/schedulerprioritysmp.c @@ -318,22 +318,6 @@ void _Scheduler_priority_SMP_Withdraw_node( ); } -Thread_Control *_Scheduler_priority_SMP_Ask_for_help_X( - const Scheduler_Control *scheduler, - Thread_Control *offers_help, - Thread_Control *needs_help -) -{ - Scheduler_Context *context = _Scheduler_Get_context( scheduler ); - - return _Scheduler_SMP_Ask_for_help_X( - context, - offers_help, - needs_help, - _Scheduler_priority_SMP_Enqueue_fifo - ); -} - Thread_Control *_Scheduler_priority_SMP_Yield( const Scheduler_Control *scheduler, Thread_Control *thread, diff --git a/cpukit/score/src/schedulersimplesmp.c b/cpukit/score/src/schedulersimplesmp.c index ff43c8a908..ed2d5d1b73 100644 --- a/cpukit/score/src/schedulersimplesmp.c +++ b/cpukit/score/src/schedulersimplesmp.c @@ -385,22 +385,6 @@ void _Scheduler_simple_SMP_Withdraw_node( ); } -Thread_Control *_Scheduler_simple_SMP_Ask_for_help_X( - const Scheduler_Control *scheduler, - Thread_Control *offers_help, - Thread_Control *needs_help -) -{ - Scheduler_Context *context = _Scheduler_Get_context( scheduler ); - - return _Scheduler_SMP_Ask_for_help_X( - context, - offers_help, - needs_help, - _Scheduler_simple_SMP_Enqueue_fifo - ); -} - Thread_Control *_Scheduler_simple_SMP_Yield( const Scheduler_Control *scheduler, Thread_Control *thread, diff --git a/cpukit/score/src/schedulerstrongapa.c b/cpukit/score/src/schedulerstrongapa.c index 1fc9b5275f..fce4541aa4 100644 --- a/cpukit/score/src/schedulerstrongapa.c +++ b/cpukit/score/src/schedulerstrongapa.c @@ -444,22 +444,6 @@ void _Scheduler_strong_APA_Withdraw_node( ); } -Thread_Control *_Scheduler_strong_APA_Ask_for_help_X( - const Scheduler_Control *scheduler, - Thread_Control *offers_help, - Thread_Control *needs_help -) -{ - Scheduler_Context *context = _Scheduler_Get_context( scheduler ); - - return _Scheduler_SMP_Ask_for_help_X( - context, - offers_help, - needs_help, - _Scheduler_strong_APA_Enqueue_fifo - ); -} - Thread_Control *_Scheduler_strong_APA_Yield( const Scheduler_Control *scheduler, Thread_Control *the_thread, |