summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadyield.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadyield.c')
-rw-r--r--cpukit/score/src/threadyield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadyield.c b/cpukit/score/src/threadyield.c
index b49e2b30ba..fc796dabea 100644
--- a/cpukit/score/src/threadyield.c
+++ b/cpukit/score/src/threadyield.c
@@ -34,7 +34,7 @@ void _Thread_Yield( Thread_Control *executing )
_ISR_Disable( level );
if ( _States_Is_ready( executing->current_state ) ) {
- _Scheduler_Yield( _Scheduler_Get( executing ), executing );
+ _Scheduler_Yield( executing );
}
_ISR_Enable( level );