aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/rt_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/rt_domain.c')
-rw-r--r--litmus/rt_domain.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/litmus/rt_domain.c b/litmus/rt_domain.c
index e6ccf04cecf0..b615092ce9c9 100644
--- a/litmus/rt_domain.c
+++ b/litmus/rt_domain.c
@@ -52,7 +52,11 @@ static unsigned int time2slot(lt_t time)
52static void do_release(struct release_heap *rh) 52static void do_release(struct release_heap *rh)
53{ 53{
54 unsigned long flags; 54 unsigned long flags;
55 TS_RELEASE_START; 55
56 if (CRIT_LEVEL_B == rh->dom->level)
57 TS_LVLB_RELEASE_START;
58 else
59 TS_LVLC_RELEASE_START;
56 60
57 raw_spin_lock_irqsave(&rh->dom->release_lock, flags); 61 raw_spin_lock_irqsave(&rh->dom->release_lock, flags);
58 VTRACE("CB has the release_lock 0x%p\n", &rh->dom->release_lock); 62 VTRACE("CB has the release_lock 0x%p\n", &rh->dom->release_lock);
@@ -64,7 +68,10 @@ static void do_release(struct release_heap *rh)
64 /* call release callback */ 68 /* call release callback */
65 rh->dom->release_jobs(rh->dom, &rh->heap); 69 rh->dom->release_jobs(rh->dom, &rh->heap);
66 70
67 TS_RELEASE_END; 71 if (CRIT_LEVEL_B == rh->dom->level)
72 TS_LVLB_RELEASE_END;
73 else
74 TS_LVLC_RELEASE_END;
68} 75}
69 76
70#ifdef CONFIG_MERGE_TIMERS 77#ifdef CONFIG_MERGE_TIMERS