aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue_sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue_sched.h')
-rw-r--r--kernel/workqueue_sched.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/workqueue_sched.h b/kernel/workqueue_sched.h
new file mode 100644
index 000000000000..af040babb742
--- /dev/null
+++ b/kernel/workqueue_sched.h
@@ -0,0 +1,16 @@
1/*
2 * kernel/workqueue_sched.h
3 *
4 * Scheduler hooks for concurrency managed workqueue. Only to be
5 * included from sched.c and workqueue.c.
6 */
7static inline void wq_worker_waking_up(struct task_struct *task,
8 unsigned int cpu)
9{
10}
11
12static inline struct task_struct *wq_worker_sleeping(struct task_struct *task,
13 unsigned int cpu)
14{
15 return NULL;
16}