summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerpriorityupdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulerpriorityupdate.c')
-rw-r--r--cpukit/score/src/schedulerpriorityupdate.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/src/schedulerpriorityupdate.c b/cpukit/score/src/schedulerpriorityupdate.c
index e58a6091a3..3f05439e42 100644
--- a/cpukit/score/src/schedulerpriorityupdate.c
+++ b/cpukit/score/src/schedulerpriorityupdate.c
@@ -20,9 +20,10 @@
#include <rtems/score/schedulerpriorityimpl.h>
-void _Scheduler_priority_Update(
+void _Scheduler_priority_Update_priority(
const Scheduler_Control *scheduler,
- Thread_Control *the_thread
+ Thread_Control *the_thread,
+ Priority_Control new_priority
)
{
Scheduler_priority_Context *context =
@@ -31,7 +32,7 @@ void _Scheduler_priority_Update(
_Scheduler_priority_Ready_queue_update(
&node->Ready_queue,
- the_thread->current_priority,
+ new_priority,
&context->Bit_map,
&context->Ready[ 0 ]
);