diff options
author | Manohar Vanga <mvanga@mpi-sws.org> | 2012-10-03 18:30:51 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-11-27 13:50:17 -0500 |
commit | b7012aa7edba4b88906fc39b9005ff4dae69be59 (patch) | |
tree | 5176a5e920adcb4158d67778b2cdecb1e3cdc4c0 /include/litmus/rt_param.h | |
parent | e99428ce6786f76b64cfea5da814a7a5cd939de3 (diff) |
litmus: get rid of RT_F_SLEEP and RT_F_RUNNING
This patch removes the flags RT_F_SLEEP and RT_F_RUNNING
as their name is misleading. This patch replaces them with
a 'completed' field in struct rt_param.
Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r-- | include/litmus/rt_param.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h index 8d9aa07cf324..5539b26588e6 100644 --- a/include/litmus/rt_param.h +++ b/include/litmus/rt_param.h | |||
@@ -160,6 +160,9 @@ struct rt_param { | |||
160 | /* is the task present? (true if it can be scheduled) */ | 160 | /* is the task present? (true if it can be scheduled) */ |
161 | unsigned int present:1; | 161 | unsigned int present:1; |
162 | 162 | ||
163 | /* has the task completed? */ | ||
164 | unsigned int completed:1; | ||
165 | |||
163 | #ifdef CONFIG_LITMUS_LOCKING | 166 | #ifdef CONFIG_LITMUS_LOCKING |
164 | /* Is the task being priority-boosted by a locking protocol? */ | 167 | /* Is the task being priority-boosted by a locking protocol? */ |
165 | unsigned int priority_boosted:1; | 168 | unsigned int priority_boosted:1; |
@@ -246,8 +249,6 @@ struct rt_param { | |||
246 | }; | 249 | }; |
247 | 250 | ||
248 | /* Possible RT flags */ | 251 | /* Possible RT flags */ |
249 | #define RT_F_RUNNING 0x00000000 | ||
250 | #define RT_F_SLEEP 0x00000001 | ||
251 | #define RT_F_EXIT_SEM 0x00000008 | 252 | #define RT_F_EXIT_SEM 0x00000008 |
252 | 253 | ||
253 | #endif | 254 | #endif |