summaryrefslogtreecommitdiffstats
path: root/testsuites
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
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')
-rw-r--r--testsuites/ChangeLog5
-rw-r--r--testsuites/support/include/tmacros.h7
2 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog
index 70f6c79f87..7c5f446e79 100644
--- a/testsuites/ChangeLog
+++ b/testsuites/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-03 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * support/include/tmacros.h: Include rtems/score/thread.h.
+ Remove _Thread_Dispatch_disable_level.
+
2009-01-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxino_t, PRIdoff_t,
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.
*/