diff options
Diffstat (limited to 'litmus/sched_plugin.c')
-rw-r--r-- | litmus/sched_plugin.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/litmus/sched_plugin.c b/litmus/sched_plugin.c index d54886df1f57..9769b6040f8a 100644 --- a/litmus/sched_plugin.c +++ b/litmus/sched_plugin.c | |||
@@ -129,6 +129,14 @@ static long litmus_dummy_allocate_lock(struct litmus_lock **lock, int type, | |||
129 | return -ENXIO; | 129 | return -ENXIO; |
130 | } | 130 | } |
131 | 131 | ||
132 | static void litmus_dummy_set_prio_inh(struct task_struct* a, struct task_struct* b) | ||
133 | { | ||
134 | } | ||
135 | |||
136 | static void litmus_dummy_clear_prio_inh(struct task_struct* t) | ||
137 | { | ||
138 | } | ||
139 | |||
132 | #endif | 140 | #endif |
133 | 141 | ||
134 | 142 | ||
@@ -149,6 +157,8 @@ struct sched_plugin linux_sched_plugin = { | |||
149 | .deactivate_plugin = litmus_dummy_deactivate_plugin, | 157 | .deactivate_plugin = litmus_dummy_deactivate_plugin, |
150 | #ifdef CONFIG_LITMUS_LOCKING | 158 | #ifdef CONFIG_LITMUS_LOCKING |
151 | .allocate_lock = litmus_dummy_allocate_lock, | 159 | .allocate_lock = litmus_dummy_allocate_lock, |
160 | .set_prio_inh = litmus_dummy_set_prio_inh, | ||
161 | .clear_prio_inh = litmus_dummy_clear_prio_inh, | ||
152 | #endif | 162 | #endif |
153 | .admit_task = litmus_dummy_admit_task | 163 | .admit_task = litmus_dummy_admit_task |
154 | }; | 164 | }; |
@@ -187,6 +197,8 @@ int register_sched_plugin(struct sched_plugin* plugin) | |||
187 | CHECK(deactivate_plugin); | 197 | CHECK(deactivate_plugin); |
188 | #ifdef CONFIG_LITMUS_LOCKING | 198 | #ifdef CONFIG_LITMUS_LOCKING |
189 | CHECK(allocate_lock); | 199 | CHECK(allocate_lock); |
200 | CHECK(set_prio_inh); | ||
201 | CHECK(clear_prio_inh); | ||
190 | #endif | 202 | #endif |
191 | CHECK(admit_task); | 203 | CHECK(admit_task); |
192 | 204 | ||