hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
kernel/kernel/workqueue_internal.h
....@@ -44,6 +44,7 @@
4444 unsigned long last_active; /* L: last active timestamp */
4545 unsigned int flags; /* X: flags */
4646 int id; /* I: worker id */
47
+ int sleeping; /* None */
4748
4849 /*
4950 * Opaque string set with work_set_desc(). Printed out with task
....@@ -72,8 +73,8 @@
7273 * Scheduler hooks for concurrency managed workqueue. Only to be used from
7374 * sched/ and workqueue.c.
7475 */
75
-void wq_worker_waking_up(struct task_struct *task, int cpu);
76
-struct task_struct *wq_worker_sleeping(struct task_struct *task);
7776 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);
7879
7980 #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */