summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersimplechangepriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulersimplechangepriority.c')
-rw-r--r--cpukit/score/src/schedulersimplechangepriority.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulersimplechangepriority.c b/cpukit/score/src/schedulersimplechangepriority.c
index b4711dfd01..5c53c96fb3 100644
--- a/cpukit/score/src/schedulersimplechangepriority.c
+++ b/cpukit/score/src/schedulersimplechangepriority.c
@@ -60,5 +60,8 @@ void _Scheduler_simple_Update_priority(
_Scheduler_simple_Extract( scheduler, the_thread, node );
_Scheduler_simple_Insert( &context->Ready, the_thread, new_priority );
- _Scheduler_simple_Schedule_body( scheduler, the_thread, false );
+ _Scheduler_uniprocessor_Schedule(
+ scheduler,
+ _Scheduler_simple_Get_highest_ready
+ );
}