aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_plugin.c')
-rw-r--r--litmus/sched_plugin.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/litmus/sched_plugin.c b/litmus/sched_plugin.c
index 35a98eb806a2..f82272f64403 100644
--- a/litmus/sched_plugin.c
+++ b/litmus/sched_plugin.c
@@ -167,26 +167,6 @@ static int litmus_dummy___decrease_prio(struct task_struct* t, struct task_struc
167} 167}
168#endif 168#endif
169 169
170
171#ifdef CONFIG_LITMUS_PAI_SOFTIRQD
172static int litmus_dummy_enqueue_pai_tasklet(struct tasklet_struct* t)
173{
174 TRACE("%s: PAI Tasklet unsupported in this plugin!!!!!!\n", __FUNCTION__);
175 return(0); // failure.
176}
177
178static void litmus_dummy_change_prio_pai_tasklet(struct task_struct *old_prio,
179 struct task_struct *new_prio)
180{
181 TRACE("%s: PAI Tasklet unsupported in this plugin!!!!!!\n", __FUNCTION__);
182}
183
184static void litmus_dummy_run_tasklets(struct task_struct* t)
185{
186 //TRACE("%s: PAI Tasklet unsupported in this plugin!!!!!!\n", __FUNCTION__);
187}
188#endif
189
190#ifdef CONFIG_LITMUS_NESTED_LOCKING 170#ifdef CONFIG_LITMUS_NESTED_LOCKING
191static void litmus_dummy_nested_increase_prio(struct task_struct* t, struct task_struct* prio_inh, 171static void litmus_dummy_nested_increase_prio(struct task_struct* t, struct task_struct* prio_inh,
192 raw_spinlock_t *to_unlock, unsigned long irqflags) 172 raw_spinlock_t *to_unlock, unsigned long irqflags)
@@ -258,11 +238,6 @@ struct sched_plugin linux_sched_plugin = {
258 .nested_decrease_prio = litmus_dummy_nested_decrease_prio, 238 .nested_decrease_prio = litmus_dummy_nested_decrease_prio,
259 .__compare = litmus_dummy___compare, 239 .__compare = litmus_dummy___compare,
260#endif 240#endif
261#ifdef CONFIG_LITMUS_PAI_SOFTIRQD
262 .enqueue_pai_tasklet = litmus_dummy_enqueue_pai_tasklet,
263 .change_prio_pai_tasklet = litmus_dummy_change_prio_pai_tasklet,
264 .run_tasklets = litmus_dummy_run_tasklets,
265#endif
266#ifdef CONFIG_LITMUS_DGL_SUPPORT 241#ifdef CONFIG_LITMUS_DGL_SUPPORT
267 .get_dgl_spinlock = litmus_dummy_get_dgl_spinlock, 242 .get_dgl_spinlock = litmus_dummy_get_dgl_spinlock,
268#endif 243#endif
@@ -320,11 +295,6 @@ int register_sched_plugin(struct sched_plugin* plugin)
320 CHECK(nested_decrease_prio); 295 CHECK(nested_decrease_prio);
321 CHECK(__compare); 296 CHECK(__compare);
322#endif 297#endif
323#ifdef CONFIG_LITMUS_PAI_SOFTIRQD
324 CHECK(enqueue_pai_tasklet);
325 CHECK(change_prio_pai_tasklet);
326 CHECK(run_tasklets);
327#endif
328#ifdef CONFIG_LITMUS_DGL_SUPPORT 298#ifdef CONFIG_LITMUS_DGL_SUPPORT
329 CHECK(get_dgl_spinlock); 299 CHECK(get_dgl_spinlock);
330#endif 300#endif