From 247131632173158cb2668d4e5c7464951b668067 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 18 May 2016 08:06:54 +0200 Subject: score: Rename _ISR_Disable() and _ISR_Enable() Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555. --- cpukit/score/src/threaddispatchdisablelevel.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cpukit/score/src/threaddispatchdisablelevel.c') diff --git a/cpukit/score/src/threaddispatchdisablelevel.c b/cpukit/score/src/threaddispatchdisablelevel.c index 826d5b25b5..75b12bd358 100644 --- a/cpukit/score/src/threaddispatchdisablelevel.c +++ b/cpukit/score/src/threaddispatchdisablelevel.c @@ -138,13 +138,3 @@ void _Giant_Release( Per_CPU_Control *cpu_self ) _Giant_Do_release( cpu_self ); _ISR_Local_enable( isr_level ); } - -#if defined( RTEMS_DEBUG ) -bool _Debug_Is_owner_of_giant( void ) -{ - Giant_Control *giant = &_Giant; - - return giant->owner_cpu == _Per_CPU_Get_snapshot() - || !_System_state_Is_up( _System_state_Get() ); -} -#endif -- cgit v1.2.3