.. | .. |
---|
44 | 44 | unsigned long last_active; /* L: last active timestamp */ |
---|
45 | 45 | unsigned int flags; /* X: flags */ |
---|
46 | 46 | int id; /* I: worker id */ |
---|
| 47 | + int sleeping; /* None */ |
---|
47 | 48 | |
---|
48 | 49 | /* |
---|
49 | 50 | * Opaque string set with work_set_desc(). Printed out with task |
---|
.. | .. |
---|
72 | 73 | * Scheduler hooks for concurrency managed workqueue. Only to be used from |
---|
73 | 74 | * sched/ and workqueue.c. |
---|
74 | 75 | */ |
---|
75 | | -void wq_worker_waking_up(struct task_struct *task, int cpu); |
---|
76 | | -struct task_struct *wq_worker_sleeping(struct task_struct *task); |
---|
77 | 76 | work_func_t wq_worker_last_func(struct task_struct *task); |
---|
| 77 | +void wq_worker_running(struct task_struct *task); |
---|
| 78 | +void wq_worker_sleeping(struct task_struct *task); |
---|
78 | 79 | |
---|
79 | 80 | #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */ |
---|