hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
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);
76
+void wq_worker_running(struct task_struct *task);
77
+void wq_worker_sleeping(struct task_struct *task);
7778 work_func_t wq_worker_last_func(struct task_struct *task);
7879
7980 #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */