summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm26/task1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm26/task1.c')
-rw-r--r--testsuites/tmtests/tm26/task1.c12
1 files changed, 6 insertions, 6 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
}