]> bbs.cooldavid.org Git - net-next-2.6.git/blame - kernel/workqueue_sched.h
sched: add hooks for workqueue
[net-next-2.6.git] / kernel / workqueue_sched.h
CommitLineData
21aa9af0
TH
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}