aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/litmus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/litmus.h')
-rw-r--r--include/litmus/litmus.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h
index ccb6b137952b..5d20276e44f4 100644
--- a/include/litmus/litmus.h
+++ b/include/litmus/litmus.h
@@ -9,9 +9,6 @@
9#include <linux/jiffies.h> 9#include <linux/jiffies.h>
10#include <litmus/sched_trace.h> 10#include <litmus/sched_trace.h>
11 11
12#include <litmus/sched_plugin.h>
13#include <linux/proc_fs.h>
14
15#ifdef CONFIG_RELEASE_MASTER 12#ifdef CONFIG_RELEASE_MASTER
16extern atomic_t release_master_cpu; 13extern atomic_t release_master_cpu;
17#endif 14#endif
@@ -65,19 +62,6 @@ void exit_litmus(struct task_struct *dead_tsk);
65long litmus_admit_task(struct task_struct *tsk); 62long litmus_admit_task(struct task_struct *tsk);
66void litmus_exit_task(struct task_struct *tsk); 63void litmus_exit_task(struct task_struct *tsk);
67 64
68/*
69 * On success, returns 0 and sets the pointer to the location of the new
70 * proc dir entry, otherwise returns an error code and sets pde to NULL.
71 */
72long make_plugin_proc_dir(struct sched_plugin* plugin,
73 struct proc_dir_entry** pde);
74
75/*
76 * Plugins should deallocate all child proc directory entries before
77 * calling this, to avoid memory leaks.
78 */
79void remove_plugin_proc_dir(struct sched_plugin* plugin);
80
81#define is_realtime(t) ((t)->policy == SCHED_LITMUS) 65#define is_realtime(t) ((t)->policy == SCHED_LITMUS)
82#define rt_transition_pending(t) \ 66#define rt_transition_pending(t) \
83 ((t)->rt_param.transition_pending) 67 ((t)->rt_param.transition_pending)