diff options
author | Manohar Vanga <mvanga@mpi-sws.org> | 2012-10-03 19:06:01 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-11-27 13:50:17 -0500 |
commit | 63537c738e7eb0ad6bc064b5e47c88092897c1cb (patch) | |
tree | e47d645b6567cee533a0e11deac34faf52457868 /include/litmus/litmus.h | |
parent | e2c4a5f574548f7b2b1d55adab3b02fb2d068ea3 (diff) |
litmus: get rid of unused RT_F_EXIT_SEM flag
This patch removes the RT_F_EXIT_SEM flag. All code paths
depending on it being true are assumed to be unreachable
and removed.
The 'flags' field in struct rt_params is left as-is for
use by specific schedulers. For example, sched_pfair
defines a custom flag RT_F_REQUEUE within the 'flags'
field.
Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Diffstat (limited to 'include/litmus/litmus.h')
-rw-r--r-- | include/litmus/litmus.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index 12770e08990b..875783e6a67b 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
@@ -45,8 +45,6 @@ void litmus_exit_task(struct task_struct *tsk); | |||
45 | #define tsk_rt(t) (&(t)->rt_param) | 45 | #define tsk_rt(t) (&(t)->rt_param) |
46 | 46 | ||
47 | /* Realtime utility macros */ | 47 | /* Realtime utility macros */ |
48 | #define get_rt_flags(t) (tsk_rt(t)->flags) | ||
49 | #define set_rt_flags(t,f) (tsk_rt(t)->flags=(f)) | ||
50 | #define is_priority_boosted(t) (tsk_rt(t)->priority_boosted) | 48 | #define is_priority_boosted(t) (tsk_rt(t)->priority_boosted) |
51 | #define get_boost_start(t) (tsk_rt(t)->boost_start_time) | 49 | #define get_boost_start(t) (tsk_rt(t)->boost_start_time) |
52 | 50 | ||