diff options
Diffstat (limited to 'include/litmus/litmus.h')
-rw-r--r-- | include/litmus/litmus.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index 1b99049eb1..6c7a4c5234 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
@@ -86,6 +86,7 @@ void litmus_exit_task(struct task_struct *tsk); | |||
86 | #define get_rt_phase(t) (tsk_rt(t)->task_params.phase) | 86 | #define get_rt_phase(t) (tsk_rt(t)->task_params.phase) |
87 | #define get_partition(t) (tsk_rt(t)->task_params.cpu) | 87 | #define get_partition(t) (tsk_rt(t)->task_params.cpu) |
88 | #define get_deadline(t) (tsk_rt(t)->job_params.deadline) | 88 | #define get_deadline(t) (tsk_rt(t)->job_params.deadline) |
89 | #define get_release(t) (tsk_rt(t)->job_params.release) | ||
89 | #define get_class(t) (tsk_rt(t)->task_params.cls) | 90 | #define get_class(t) (tsk_rt(t)->task_params.cls) |
90 | 91 | ||
91 | inline static int budget_exhausted(struct task_struct* t) | 92 | inline static int budget_exhausted(struct task_struct* t) |
@@ -101,8 +102,6 @@ inline static int budget_exhausted(struct task_struct* t) | |||
101 | #define is_be(t) \ | 102 | #define is_be(t) \ |
102 | (tsk_rt(t)->task_params.class == RT_CLASS_BEST_EFFORT) | 103 | (tsk_rt(t)->task_params.class == RT_CLASS_BEST_EFFORT) |
103 | 104 | ||
104 | #define get_release(t) (tsk_rt(t)->job_params.release) | ||
105 | |||
106 | /* Our notion of time within LITMUS: kernel monotonic time. */ | 105 | /* Our notion of time within LITMUS: kernel monotonic time. */ |
107 | static inline lt_t litmus_clock(void) | 106 | static inline lt_t litmus_clock(void) |
108 | { | 107 | { |