blob: b3ea6ad5566b023459499e69780a05ecb460c3a8 [file] [log] [blame]
Tejun Heoea138442013-01-18 14:05:55 -08001/*
2 * kernel/workqueue_internal.h
3 *
4 * Workqueue internal header file. Only to be included by workqueue and
5 * core kernel subsystems.
6 */
7#ifndef _KERNEL_WORKQUEUE_INTERNAL_H
8#define _KERNEL_WORKQUEUE_INTERNAL_H
9
10/*
11 * Scheduler hooks for concurrency managed workqueue. Only to be used from
12 * sched.c and workqueue.c.
13 */
14void wq_worker_waking_up(struct task_struct *task, unsigned int cpu);
15struct task_struct *wq_worker_sleeping(struct task_struct *task,
16 unsigned int cpu);
17
18#endif /* _KERNEL_WORKQUEUE_INTERNAL_H */