summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqenqueuepriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadqenqueuepriority.c')
-rw-r--r--cpukit/score/src/threadqenqueuepriority.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/cpukit/score/src/threadqenqueuepriority.c b/cpukit/score/src/threadqenqueuepriority.c
index cad998cf87..f2652ea4b0 100644
--- a/cpukit/score/src/threadqenqueuepriority.c
+++ b/cpukit/score/src/threadqenqueuepriority.c
@@ -1,8 +1,7 @@
/*
- * Thread Queue Handler
+ * Thread Queue Handler - Enqueue By Priority
*
- *
- * COPYRIGHT (c) 1989-2008.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -25,6 +24,14 @@
#include <rtems/score/threadq.h>
#include <rtems/score/tqdata.h>
+/*
+ * Support the user forcing the unrolling to be disabled.
+ */
+#if __RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY__
+ #undef CPU_UNROLL_ENQUEUE_PRIORITY
+ #define CPU_UNROLL_ENQUEUE_PRIORITY FALSE
+#endif
+
/*PAGE
*
* _Thread_queue_Enqueue_priority