summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersimpleyield.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulersimpleyield.c')
-rw-r--r--cpukit/score/src/schedulersimpleyield.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/schedulersimpleyield.c b/cpukit/score/src/schedulersimpleyield.c
index cb8dc6fc92..43784d65f9 100644
--- a/cpukit/score/src/schedulersimpleyield.c
+++ b/cpukit/score/src/schedulersimpleyield.c
@@ -32,10 +32,7 @@ void _Scheduler_simple_Yield( Thread_Control *thread )
_ISR_Flash( level );
- _Scheduler_simple_Schedule();
-
- if ( !_Thread_Is_heir( thread ) )
- _Thread_Dispatch_necessary = true;
+ _Scheduler_simple_Schedule_body( thread, false );
_ISR_Enable( level );
}