aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2011-01-30 15:14:20 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 16:22:21 -0500
commita0f243fd1d66c3499f88a690e485e94160ac1a8c (patch)
treeed551c5332a227c6b3d472b319deb7c154e1e70e /include/litmus
parent3cb35a8d90658bd8fb6f9b4f60eb7f97d0643313 (diff)
Fixed is_hrt, is_srt, and is_be macros.
Diffstat (limited to 'include/litmus')
-rw-r--r--include/litmus/litmus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h
index 246483783fc0..4a774a9e7acc 100644
--- a/include/litmus/litmus.h
+++ b/include/litmus/litmus.h
@@ -74,11 +74,11 @@ inline static lt_t budget_remaining(struct task_struct* t)
74 == PRECISE_ENFORCEMENT) 74 == PRECISE_ENFORCEMENT)
75 75
76#define is_hrt(t) \ 76#define is_hrt(t) \
77 (tsk_rt(t)->task_params.class == RT_CLASS_HARD) 77 (tsk_rt(t)->task_params.cls == RT_CLASS_HARD)
78#define is_srt(t) \ 78#define is_srt(t) \
79 (tsk_rt(t)->task_params.class == RT_CLASS_SOFT) 79 (tsk_rt(t)->task_params.cls == RT_CLASS_SOFT)
80#define is_be(t) \ 80#define is_be(t) \
81 (tsk_rt(t)->task_params.class == RT_CLASS_BEST_EFFORT) 81 (tsk_rt(t)->task_params.cls == RT_CLASS_BEST_EFFORT)
82 82
83/* Our notion of time within LITMUS: kernel monotonic time. */ 83/* Our notion of time within LITMUS: kernel monotonic time. */
84static inline lt_t litmus_clock(void) 84static inline lt_t litmus_clock(void)