summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/tmacros.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-03 04:29:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-03 04:29:40 +0000
commitf62c4673b6caa198235423602d9063b3e9a92ab9 (patch)
tree75401117743cde03028a0b209c9db1c8f031d0ea /testsuites/support/include/tmacros.h
parent2009-11-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f62c4673b6caa198235423602d9063b3e9a92ab9.tar.bz2
2009-01-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Include rtems/score/thread.h. Remove _Thread_Dispatch_disable_level.
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r--testsuites/support/include/tmacros.h7
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.
*/