diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-28 08:30:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-28 08:30:11 +0200 |
commit | 5803f3738f8f97c2188bd36274e60602af515e7f (patch) | |
tree | c1af13d31586640d1e239396216f315adda42ad0 /cpukit/include/rtems/capture.h | |
parent | arm: Return the current handler from arm_cp15_set_exception_handler (diff) | |
download | rtems-5803f3738f8f97c2188bd36274e60602af515e7f.tar.bz2 |
score: Add and use _Thread_Get_unmapped_priority().
Add and use _Thread_Get_unmapped_real_priority().
Diffstat (limited to 'cpukit/include/rtems/capture.h')
-rw-r--r-- | cpukit/include/rtems/capture.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/include/rtems/capture.h b/cpukit/include/rtems/capture.h index 7a313b3b8b..c37d652211 100644 --- a/cpukit/include/rtems/capture.h +++ b/cpukit/include/rtems/capture.h @@ -34,7 +34,6 @@ #include <rtems.h> #include <rtems/rtems/tasksimpl.h> -#include <rtems/score/schedulerimpl.h> #include <string.h> @@ -890,7 +889,7 @@ rtems_capture_task_start_priority (rtems_tcb* tcb) static inline rtems_task_priority rtems_capture_task_real_priority (rtems_tcb* tcb) { - return SCHEDULER_PRIORITY_UNMAP (tcb->Real_priority.priority); + return _Thread_Get_unmapped_real_priority (tcb); } /** @@ -905,7 +904,7 @@ rtems_capture_task_real_priority (rtems_tcb* tcb) static inline rtems_task_priority rtems_capture_task_curr_priority (rtems_tcb* tcb) { - return SCHEDULER_PRIORITY_UNMAP (_Thread_Get_priority (tcb)); + return _Thread_Get_unmapped_priority (tcb); } /** |