diff options
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r-- | testsuites/support/include/tmacros.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index de7a2145aa..203e9e9982 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -25,6 +25,7 @@ #include <string.h> #include <assert.h> #include <rtems/error.h> +#include <rtems/score/thread.h> /* _Thread_Dispatch_disable_level */ #ifdef __cplusplus extern "C" { @@ -42,12 +43,6 @@ extern "C" { #include <buffer_test_io.h> /* - * HACK: Blatant visibility violation - * Should include a public header instead - */ -extern volatile uint32_t _Thread_Dispatch_disable_level; - -/* * 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. */ |