diff options
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index b8f4ec45c40a..33e24e734d50 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -227,6 +227,9 @@ enum { | |||
227 | WQ_SINGLE_CPU = 1 << 1, /* only single cpu at a time */ | 227 | WQ_SINGLE_CPU = 1 << 1, /* only single cpu at a time */ |
228 | WQ_NON_REENTRANT = 1 << 2, /* guarantee non-reentrance */ | 228 | WQ_NON_REENTRANT = 1 << 2, /* guarantee non-reentrance */ |
229 | WQ_RESCUER = 1 << 3, /* has an rescue worker */ | 229 | WQ_RESCUER = 1 << 3, /* has an rescue worker */ |
230 | |||
231 | WQ_MAX_ACTIVE = 512, /* I like 512, better ideas? */ | ||
232 | WQ_DFL_ACTIVE = WQ_MAX_ACTIVE / 2, | ||
230 | }; | 233 | }; |
231 | 234 | ||
232 | extern struct workqueue_struct * | 235 | extern struct workqueue_struct * |
@@ -280,7 +283,6 @@ extern int schedule_delayed_work(struct delayed_work *work, unsigned long delay) | |||
280 | extern int schedule_delayed_work_on(int cpu, struct delayed_work *work, | 283 | extern int schedule_delayed_work_on(int cpu, struct delayed_work *work, |
281 | unsigned long delay); | 284 | unsigned long delay); |
282 | extern int schedule_on_each_cpu(work_func_t func); | 285 | extern int schedule_on_each_cpu(work_func_t func); |
283 | extern int current_is_keventd(void); | ||
284 | extern int keventd_up(void); | 286 | extern int keventd_up(void); |
285 | 287 | ||
286 | extern void init_workqueues(void); | 288 | extern void init_workqueues(void); |