summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/regionimpl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/regionimpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/regionimpl.h b/cpukit/rtems/include/rtems/rtems/regionimpl.h
index 1f31ad4adb..178b7ea32b 100644
--- a/cpukit/rtems/include/rtems/rtems/regionimpl.h
+++ b/cpukit/rtems/include/rtems/rtems/regionimpl.h
@@ -35,6 +35,9 @@ extern "C" {
* @{
*/
+#define REGION_OF_THREAD_QUEUE_QUEUE( queue ) \
+ RTEMS_CONTAINER_OF( queue, Region_Control, Wait_queue.Queue )
+
/**
* The following defines the information control block used to
* manage this class of objects.