summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulercbsunblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulercbsunblock.c')
-rw-r--r--cpukit/score/src/schedulercbsunblock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/schedulercbsunblock.c b/cpukit/score/src/schedulercbsunblock.c
index 688253c279..56b35de8b9 100644
--- a/cpukit/score/src/schedulercbsunblock.c
+++ b/cpukit/score/src/schedulercbsunblock.c
@@ -79,10 +79,10 @@ Scheduler_Void_or_thread _Scheduler_CBS_Unblock(
_Thread_Heir->current_priority
)
) {
- _Thread_Heir = the_thread;
- if ( _Thread_Executing->is_preemptible ||
- the_thread->current_priority == 0 )
- _Thread_Dispatch_necessary = true;
+ _Scheduler_Update_heir(
+ the_thread,
+ the_thread->current_priority == PRIORITY_PSEUDO_ISR
+ );
}
SCHEDULER_RETURN_VOID_OR_NULL;