summaryrefslogtreecommitdiff
path: root/kernel/workqueue_sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue_sched.h')
-rw-r--r--kernel/workqueue_sched.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/workqueue_sched.h b/kernel/workqueue_sched.h
new file mode 100644
index 000000000000..2d10fc98dc79
--- /dev/null
+++ b/kernel/workqueue_sched.h
@@ -0,0 +1,9 @@
+/*
+ * kernel/workqueue_sched.h
+ *
+ * Scheduler hooks for concurrency managed workqueue. Only to be
+ * included from sched.c and workqueue.c.
+ */
+void wq_worker_waking_up(struct task_struct *task, unsigned int cpu);
+struct task_struct *wq_worker_sleeping(struct task_struct *task,
+ unsigned int cpu);