diff options
Diffstat (limited to 'kernel/workqueue_internal.h')
-rw-r--r-- | kernel/workqueue_internal.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kernel/workqueue_internal.h b/kernel/workqueue_internal.h index 07650264ec15..84ab6e1dc6fb 100644 --- a/kernel/workqueue_internal.h +++ b/kernel/workqueue_internal.h | |||
@@ -32,14 +32,12 @@ struct worker { | |||
32 | struct list_head scheduled; /* L: scheduled works */ | 32 | struct list_head scheduled; /* L: scheduled works */ |
33 | struct task_struct *task; /* I: worker task */ | 33 | struct task_struct *task; /* I: worker task */ |
34 | struct worker_pool *pool; /* I: the associated pool */ | 34 | struct worker_pool *pool; /* I: the associated pool */ |
35 | /* L: for rescuers */ | ||
35 | /* 64 bytes boundary on 64bit, 32 on 32bit */ | 36 | /* 64 bytes boundary on 64bit, 32 on 32bit */ |
36 | unsigned long last_active; /* L: last active timestamp */ | 37 | unsigned long last_active; /* L: last active timestamp */ |
37 | unsigned int flags; /* X: flags */ | 38 | unsigned int flags; /* X: flags */ |
38 | int id; /* I: worker id */ | 39 | int id; /* I: worker id */ |
39 | 40 | ||
40 | /* for rebinding worker to CPU */ | ||
41 | struct work_struct rebind_work; /* L: for busy worker */ | ||
42 | |||
43 | /* used only by rescuers to point to the target workqueue */ | 41 | /* used only by rescuers to point to the target workqueue */ |
44 | struct workqueue_struct *rescue_wq; /* I: the workqueue to rescue */ | 42 | struct workqueue_struct *rescue_wq; /* I: the workqueue to rescue */ |
45 | }; | 43 | }; |
@@ -58,8 +56,7 @@ static inline struct worker *current_wq_worker(void) | |||
58 | * Scheduler hooks for concurrency managed workqueue. Only to be used from | 56 | * Scheduler hooks for concurrency managed workqueue. Only to be used from |
59 | * sched.c and workqueue.c. | 57 | * sched.c and workqueue.c. |
60 | */ | 58 | */ |
61 | void wq_worker_waking_up(struct task_struct *task, unsigned int cpu); | 59 | void wq_worker_waking_up(struct task_struct *task, int cpu); |
62 | struct task_struct *wq_worker_sleeping(struct task_struct *task, | 60 | struct task_struct *wq_worker_sleeping(struct task_struct *task, int cpu); |
63 | unsigned int cpu); | ||
64 | 61 | ||
65 | #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */ | 62 | #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */ |