aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/sched_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/sched_plugin.h')
-rw-r--r--include/litmus/sched_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/litmus/sched_plugin.h b/include/litmus/sched_plugin.h
index 78004381a6cc..d0e7d74bb45e 100644
--- a/include/litmus/sched_plugin.h
+++ b/include/litmus/sched_plugin.h
@@ -58,10 +58,12 @@ typedef void (*task_block_t) (struct task_struct *task);
58 */ 58 */
59typedef void (*task_exit_t) (struct task_struct *); 59typedef void (*task_exit_t) (struct task_struct *);
60 60
61#ifdef CONFIG_LITMUS_LOCKING
61/* Called when the current task attempts to create a new lock of a given 62/* Called when the current task attempts to create a new lock of a given
62 * protocol type. */ 63 * protocol type. */
63typedef long (*allocate_lock_t) (struct litmus_lock **lock, int type, 64typedef long (*allocate_lock_t) (struct litmus_lock **lock, int type,
64 void* __user config); 65 void* __user config);
66#endif
65 67
66struct affinity_observer; 68struct affinity_observer;
67typedef long (*allocate_affinity_observer_t) ( 69typedef long (*allocate_affinity_observer_t) (