[rtems commit] smptests/smpthreadlife01: Fix for debug enabled
Sebastian Huber
sebh at rtems.org
Tue Jun 3 07:02:46 UTC 2014
Module: rtems
Branch: master
Commit: 5abe5a8122bf7a6e3d69c481e347700f1059676c
Changeset: http://git.rtems.org/rtems/commit/?id=5abe5a8122bf7a6e3d69c481e347700f1059676c
Author: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
Date: Mon Jun 2 16:15:15 2014 +0200
smptests/smpthreadlife01: Fix for debug enabled
---
testsuites/smptests/smpthreadlife01/init.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/testsuites/smptests/smpthreadlife01/init.c b/testsuites/smptests/smpthreadlife01/init.c
index 0a8b068..65d8709 100644
--- a/testsuites/smptests/smpthreadlife01/init.c
+++ b/testsuites/smptests/smpthreadlife01/init.c
@@ -185,9 +185,9 @@ static void test_delete(void)
static void delay_ipi_task(rtems_task_argument variant)
{
test_context *ctx = &test_instance;
- rtems_interrupt_level level;
+ ISR_Level level;
- rtems_interrupt_disable(level);
+ _ISR_Disable_without_giant(level);
(void) level;
_SMP_barrier_Wait(&ctx->barrier, &ctx->worker_barrier_state, CPU_COUNT);
@@ -249,9 +249,9 @@ static void delay_switch_task(rtems_task_argument arg)
{
test_context *ctx = &test_instance;
rtems_status_code sc;
- rtems_interrupt_level level;
+ ISR_Level level;
- rtems_interrupt_disable(level);
+ _ISR_Disable_without_giant(level);
(void) level;
ctx->delay_switch_for_executing = _Thread_Get_executing();
More information about the vc
mailing list