summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/tmacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r--testsuites/support/include/tmacros.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index 60da7647dc..ff016605db 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -46,15 +46,8 @@ extern "C" {
/*
* Check that that the dispatch disable level is proper for the
* mode/state of the test. Normally it should be 0 when in task space.
- *
- * This test is only valid when in a non-SMP system. In an smp system
- * another cpu may be accessing the core at any point when this core
- * does not have it locked.
*/
-#if defined SMPTEST
- #define check_dispatch_disable_level( _expect )
-#else
- #define check_dispatch_disable_level( _expect ) \
+#define check_dispatch_disable_level( _expect ) \
do { \
if ( (_expect) != -1 \
&& (((!_Thread_Dispatch_is_enabled()) == false && (_expect) != 0) \
@@ -67,7 +60,6 @@ extern "C" {
rtems_test_exit( 1 ); \
} \
} while ( 0 )
-#endif
/*
* Check that that the allocator mutex is not owned by the executing thread.