diff options
-rw-r--r-- | testsuites/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/support/include/tmacros.h | 7 |
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. */ |