diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/rt_param.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index 53741727d5d0..63dc87b65551 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -82,14 +82,6 @@ struct rt_job { | |||
82 | /* How much service has this job received so far? */ | 82 | /* How much service has this job received so far? */ |
83 | lt_t exec_time; | 83 | lt_t exec_time; |
84 | 84 | ||
85 | #ifdef CONFIG_PLUGIN_EDZL | ||
86 | /* boolean indicating zero-laxity state. We will | ||
87 | set this flag explicitly at zero-laxity detection. | ||
88 | This makes priority comparison operations more | ||
89 | predictable since laxity varies with time */ | ||
90 | int zero_laxity; | ||
91 | #endif | ||
92 | |||
93 | /* Which job is this. This is used to let user space | 85 | /* Which job is this. This is used to let user space |
94 | * specify which job to wait for, which is important if jobs | 86 | * specify which job to wait for, which is important if jobs |
95 | * overrun. If we just call sys_sleep_next_period() then we | 87 | * overrun. If we just call sys_sleep_next_period() then we |
@@ -98,6 +90,14 @@ struct rt_job { | |||
98 | * Increase this sequence number when a job is released. | 90 | * Increase this sequence number when a job is released. |
99 | */ | 91 | */ |
100 | unsigned int job_no; | 92 | unsigned int job_no; |
93 | |||
94 | #ifdef CONFIG_PLUGIN_EDZL | ||
95 | /* boolean indicating zero-laxity state. We will | ||
96 | set this flag explicitly at zero-laxity detection. | ||
97 | This makes priority comparison operations more | ||
98 | predictable since laxity varies with time */ | ||
99 | unsigned int zero_laxity:1; | ||
100 | #endif | ||
101 | }; | 101 | }; |
102 | 102 | ||
103 | struct pfair_param; | 103 | struct pfair_param; |
@@ -123,7 +123,6 @@ struct rt_param { | |||
123 | struct rt_job job_params; | 123 | struct rt_job job_params; |
124 | 124 | ||
125 | #ifdef CONFIG_PLUGIN_EDZL | 125 | #ifdef CONFIG_PLUGIN_EDZL |
126 | unsigned int zl_timer_armed:1; | ||
127 | /* used to trigger zero-laxity detection */ | 126 | /* used to trigger zero-laxity detection */ |
128 | struct hrtimer zl_timer; | 127 | struct hrtimer zl_timer; |
129 | #endif | 128 | #endif |