aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/litmus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/litmus.h')
-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)