summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/cpuuse/cpuusagetop.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-28 08:30:11 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-28 08:30:11 +0200
commit5803f3738f8f97c2188bd36274e60602af515e7f (patch)
treec1af13d31586640d1e239396216f315adda42ad0 /cpukit/libmisc/cpuuse/cpuusagetop.c
parentarm: Return the current handler from arm_cp15_set_exception_handler (diff)
downloadrtems-5803f3738f8f97c2188bd36274e60602af515e7f.tar.bz2
score: Add and use _Thread_Get_unmapped_priority().
Add and use _Thread_Get_unmapped_real_priority().
Diffstat (limited to 'cpukit/libmisc/cpuuse/cpuusagetop.c')
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagetop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c
index c4bfa704d1..96e364bf93 100644
--- a/cpukit/libmisc/cpuuse/cpuusagetop.c
+++ b/cpukit/libmisc/cpuuse/cpuusagetop.c
@@ -448,8 +448,8 @@ rtems_cpuusage_top_thread (rtems_task_argument arg)
" 0x%08" PRIx32 " | %-19s | %3" PRId64 " | %3" PRId64 " | ",
thread->Object.id,
name,
- thread->Real_priority.priority,
- _Thread_Get_priority(thread));
+ _Thread_Get_unmapped_real_priority(thread),
+ _Thread_Get_unmapped_priority(thread));
usage = data->usage[i];
current_usage = data->current_usage[i];