diff options
author | Bjoern B. Brandenburg <bbb@koruna.cs.unc.edu> | 2009-09-16 14:42:32 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@koruna.cs.unc.edu> | 2009-09-16 14:45:39 -0400 |
commit | d278c1c93b03f6617d7137a79561639ad1845f71 (patch) | |
tree | a8d529641f0d9b65e5bf6d84b9be77ba15867350 | |
parent | c12cf2fe511e6ed9a0728c9fc43c1e5f3752a6ca (diff) |
re-organize getters2008.3
Stick get_release() to the rest of the bunch.
-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 | { |