workqueue_sched.h 371 B

12345678910111213141516
  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. */
  7. static inline void wq_worker_waking_up(struct task_struct *task,
  8. unsigned int cpu)
  9. {
  10. }
  11. static inline struct task_struct *wq_worker_sleeping(struct task_struct *task,
  12. unsigned int cpu)
  13. {
  14. return NULL;
  15. }