diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-18 08:03:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:50:34 +0200 |
commit | 4b04cb61552dbaa1a42a64e2f7b823708127e488 (patch) | |
tree | 700d7664a80736281f4d266413c4a020ff2a996c /testsuites/tmtests | |
parent | score: _Thread_Dispatch_increment_disable_level() (diff) | |
download | rtems-4b04cb61552dbaa1a42a64e2f7b823708127e488.tar.bz2 |
score: Rename _ISR_Disable_without_giant()
Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename
_ISR_Enable_without_giant() into _ISR_Local_enable().
This is a preparation to remove the Giant lock.
Update #2555.
Diffstat (limited to 'testsuites/tmtests')
-rw-r--r-- | testsuites/tmtests/tm26/task1.c | 12 | ||||
-rw-r--r-- | testsuites/tmtests/tm27/task1.c | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c index 0eb7554c97..8463cd3c5a 100644 --- a/testsuites/tmtests/tm26/task1.c +++ b/testsuites/tmtests/tm26/task1.c @@ -94,7 +94,7 @@ static void set_thread_dispatch_necessary( bool dispatch_necessary ) #if defined( PREVENT_SMP_ASSERT_FAILURES ) ISR_Level level; - _ISR_Disable_without_giant( level ); + _ISR_Local_disable( level ); #endif _Thread_Dispatch_necessary = dispatch_necessary; @@ -104,7 +104,7 @@ static void set_thread_dispatch_necessary( bool dispatch_necessary ) } #if defined( PREVENT_SMP_ASSERT_FAILURES ) - _ISR_Enable_without_giant( level ); + _ISR_Local_enable( level ); #endif } @@ -113,13 +113,13 @@ static void set_thread_heir( Thread_Control *thread ) #if defined( PREVENT_SMP_ASSERT_FAILURES ) ISR_Level level; - _ISR_Disable_without_giant( level ); + _ISR_Local_disable( level ); #endif _Thread_Heir = thread; #if defined( PREVENT_SMP_ASSERT_FAILURES ) - _ISR_Enable_without_giant( level ); + _ISR_Local_enable( level ); #endif } @@ -128,13 +128,13 @@ static void set_thread_executing( Thread_Control *thread ) #if defined( PREVENT_SMP_ASSERT_FAILURES ) ISR_Level level; - _ISR_Disable_without_giant( level ); + _ISR_Local_disable( level ); #endif _Thread_Executing = thread; #if defined( PREVENT_SMP_ASSERT_FAILURES ) - _ISR_Enable_without_giant( level ); + _ISR_Local_enable( level ); #endif } diff --git a/testsuites/tmtests/tm27/task1.c b/testsuites/tmtests/tm27/task1.c index cae778fb26..aba835c93b 100644 --- a/testsuites/tmtests/tm27/task1.c +++ b/testsuites/tmtests/tm27/task1.c @@ -188,7 +188,7 @@ rtems_task Task_1( */ #if defined(RTEMS_SMP) - _ISR_Disable_without_giant(level); + _ISR_Local_disable(level); #endif _Thread_Executing = @@ -197,7 +197,7 @@ rtems_task Task_1( _Thread_Dispatch_necessary = 1; #if defined(RTEMS_SMP) - _ISR_Enable_without_giant(level); + _ISR_Local_enable(level); #endif Interrupt_occurred = 0; |