diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-10-29 14:45:28 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-23 11:00:28 +0100 |
commit | d0434b886332fab34ad5dca292de3a2db90e0615 (patch) | |
tree | c0873866ededfe20d789eaed10a776f705370426 /cpukit/score/src/schedulerstrongapa.c | |
parent | score: Move _Scheduler_Unblock_node() (diff) | |
download | rtems-d0434b886332fab34ad5dca292de3a2db90e0615.tar.bz2 |
score: Remove victim thread from CPU allocation
Update #4531.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/schedulerstrongapa.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cpukit/score/src/schedulerstrongapa.c b/cpukit/score/src/schedulerstrongapa.c index 36ceaeddc1..265ef1a797 100644 --- a/cpukit/score/src/schedulerstrongapa.c +++ b/cpukit/score/src/schedulerstrongapa.c @@ -157,25 +157,21 @@ static inline Scheduler_Node *_Scheduler_strong_APA_Get_scheduled( static inline void _Scheduler_strong_APA_Allocate_processor( Scheduler_Context *context, Scheduler_Node *scheduled_base, - Thread_Control *victim_thread, - Per_CPU_Control *victim_cpu + Per_CPU_Control *cpu ) { Scheduler_strong_APA_Node *scheduled; Scheduler_strong_APA_Context *self; - (void) victim_thread; - scheduled = _Scheduler_strong_APA_Node_downcast( scheduled_base ); self = _Scheduler_strong_APA_Get_self( context ); - _Scheduler_strong_APA_Set_scheduled( self, scheduled_base, victim_cpu ); + _Scheduler_strong_APA_Set_scheduled( self, scheduled_base, cpu ); _Scheduler_SMP_Allocate_processor_exact( context, &( scheduled->Base.Base ), - NULL, - victim_cpu + cpu ); } |