diff options
Diffstat (limited to 'litmus/sched_plugin.c')
-rw-r--r-- | litmus/sched_plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/litmus/sched_plugin.c b/litmus/sched_plugin.c index 00a1900d6457..123c7516fb76 100644 --- a/litmus/sched_plugin.c +++ b/litmus/sched_plugin.c | |||
@@ -95,6 +95,10 @@ static void litmus_dummy_task_exit(struct task_struct *task) | |||
95 | { | 95 | { |
96 | } | 96 | } |
97 | 97 | ||
98 | static void litmus_dummy_release_ts(lt_t time) | ||
99 | { | ||
100 | } | ||
101 | |||
98 | static long litmus_dummy_complete_job(void) | 102 | static long litmus_dummy_complete_job(void) |
99 | { | 103 | { |
100 | return -ENOSYS; | 104 | return -ENOSYS; |
@@ -136,6 +140,7 @@ struct sched_plugin linux_sched_plugin = { | |||
136 | .finish_switch = litmus_dummy_finish_switch, | 140 | .finish_switch = litmus_dummy_finish_switch, |
137 | .activate_plugin = litmus_dummy_activate_plugin, | 141 | .activate_plugin = litmus_dummy_activate_plugin, |
138 | .deactivate_plugin = litmus_dummy_deactivate_plugin, | 142 | .deactivate_plugin = litmus_dummy_deactivate_plugin, |
143 | .release_ts = litmus_dummy_release_ts, | ||
139 | #ifdef CONFIG_LITMUS_LOCKING | 144 | #ifdef CONFIG_LITMUS_LOCKING |
140 | .allocate_lock = litmus_dummy_allocate_lock, | 145 | .allocate_lock = litmus_dummy_allocate_lock, |
141 | #endif | 146 | #endif |
@@ -174,6 +179,7 @@ int register_sched_plugin(struct sched_plugin* plugin) | |||
174 | CHECK(complete_job); | 179 | CHECK(complete_job); |
175 | CHECK(activate_plugin); | 180 | CHECK(activate_plugin); |
176 | CHECK(deactivate_plugin); | 181 | CHECK(deactivate_plugin); |
182 | CHECK(release_ts); | ||
177 | #ifdef CONFIG_LITMUS_LOCKING | 183 | #ifdef CONFIG_LITMUS_LOCKING |
178 | CHECK(allocate_lock); | 184 | CHECK(allocate_lock); |
179 | #endif | 185 | #endif |