summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/tmtests/tm26/task1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index e68dc6d4c2..416e5f7ef7 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -133,7 +133,8 @@ static void set_thread_executing( Thread_Control *thread )
static void thread_disable_dispatch( void )
{
-#if defined( PREVENT_SMP_ASSERT_FAILURES )
+/* Yes, RTEMS_SMP and not PREVENT_SMP_ASSERT_FAILURES */
+#if defined( RTEMS_SMP )
Per_CPU_Control *self_cpu;
ISR_Level level;