summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/coremuteximpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/coremuteximpl.h')
-rw-r--r--cpukit/score/include/rtems/score/coremuteximpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/coremuteximpl.h b/cpukit/score/include/rtems/score/coremuteximpl.h
index 5078c26c0a..bbe2f07a7e 100644
--- a/cpukit/score/include/rtems/score/coremuteximpl.h
+++ b/cpukit/score/include/rtems/score/coremuteximpl.h
@@ -332,7 +332,7 @@ RTEMS_INLINE_ROUTINE Status_Control _CORE_ceiling_mutex_Seize(
if ( owner == NULL ) {
#if defined(RTEMS_SMP)
if (
- _Scheduler_Get_own( executing )
+ _Thread_Scheduler_get_home( executing )
!= _CORE_ceiling_mutex_Get_scheduler( the_mutex )
) {
_CORE_mutex_Release( &the_mutex->Recursive.Mutex, queue_context );