diff options
Diffstat (limited to 'cpukit/score/src/threaddispatchdisablelevel.c')
-rw-r--r-- | cpukit/score/src/threaddispatchdisablelevel.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/score/src/threaddispatchdisablelevel.c b/cpukit/score/src/threaddispatchdisablelevel.c index abd8c97cd5..68b4d76381 100644 --- a/cpukit/score/src/threaddispatchdisablelevel.c +++ b/cpukit/score/src/threaddispatchdisablelevel.c @@ -142,13 +142,11 @@ void _Giant_Release( void ) } #if defined( RTEMS_DEBUG ) -void _Assert_Owner_of_giant( void ) +bool _Debug_Is_owner_of_giant( void ) { Giant_Control *giant = &_Giant; - _Assert( - giant->owner_cpu == _SMP_Get_current_processor() - || !_System_state_Is_up( _System_state_Get() ) - ); + return giant->owner_cpu == _SMP_Get_current_processor() + || !_System_state_Is_up( _System_state_Get() ); } #endif |