summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/macros/tasks.inl
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/macros/tasks.inl')
-rw-r--r--c/src/exec/rtems/macros/tasks.inl8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/exec/rtems/macros/tasks.inl b/c/src/exec/rtems/macros/tasks.inl
index 778d4867ca..243d0addc7 100644
--- a/c/src/exec/rtems/macros/tasks.inl
+++ b/c/src/exec/rtems/macros/tasks.inl
@@ -83,5 +83,13 @@
(void) _Watchdog_Remove( &(_the_thread)->Timer ); \
}
+/*PAGE
+ *
+ * _RTEMS_Tasks_Priority_to_Core
+ */
+
+#define _RTEMS_Tasks_Priority_to_Core( _priority ) \
+ ((Priority_Control) (_priority))
+
#endif
/* end of include file */