aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManohar Vanga <mvanga@mpi-sws.org>2012-10-03 19:06:01 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2012-11-27 13:50:17 -0500
commit63537c738e7eb0ad6bc064b5e47c88092897c1cb (patch)
treee47d645b6567cee533a0e11deac34faf52457868 /include
parente2c4a5f574548f7b2b1d55adab3b02fb2d068ea3 (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')
-rw-r--r--include/litmus/litmus.h2
-rw-r--r--include/litmus/rt_param.h3
2 files changed, 0 insertions, 5 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
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index 5539b26588e6..4cd06dd32906 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -248,9 +248,6 @@ struct rt_param {
248 struct control_page * ctrl_page; 248 struct control_page * ctrl_page;
249}; 249};
250 250
251/* Possible RT flags */
252#define RT_F_EXIT_SEM 0x00000008
253
254#endif 251#endif
255 252
256#endif 253#endif