diff options
Diffstat (limited to 'cpukit/score/src/coremutexseize.c')
-rw-r--r-- | cpukit/score/src/coremutexseize.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/coremutexseize.c b/cpukit/score/src/coremutexseize.c index fe6ee5e598..2f9c8da523 100644 --- a/cpukit/score/src/coremutexseize.c +++ b/cpukit/score/src/coremutexseize.c @@ -53,8 +53,11 @@ void _CORE_mutex_Seize_interrupt_blocking( { if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ) { + Thread_Control *holder = the_mutex->holder; + _Scheduler_Change_priority_if_higher( - the_mutex->holder, + _Scheduler_Get( holder ), + holder, executing->current_priority, false ); |