diff options
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index ab0b7fb99bc2..10611f7fc809 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -221,7 +221,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } | |||
221 | 221 | ||
222 | enum { | 222 | enum { |
223 | WQ_FREEZEABLE = 1 << 0, /* freeze during suspend */ | 223 | WQ_FREEZEABLE = 1 << 0, /* freeze during suspend */ |
224 | WQ_SINGLE_THREAD = 1 << 1, /* no per-cpu worker */ | 224 | WQ_SINGLE_CPU = 1 << 1, /* only single cpu at a time */ |
225 | }; | 225 | }; |
226 | 226 | ||
227 | extern struct workqueue_struct * | 227 | extern struct workqueue_struct * |
@@ -250,9 +250,9 @@ __create_workqueue_key(const char *name, unsigned int flags, int max_active, | |||
250 | #define create_workqueue(name) \ | 250 | #define create_workqueue(name) \ |
251 | __create_workqueue((name), 0, 1) | 251 | __create_workqueue((name), 0, 1) |
252 | #define create_freezeable_workqueue(name) \ | 252 | #define create_freezeable_workqueue(name) \ |
253 | __create_workqueue((name), WQ_FREEZEABLE | WQ_SINGLE_THREAD, 1) | 253 | __create_workqueue((name), WQ_FREEZEABLE | WQ_SINGLE_CPU, 1) |
254 | #define create_singlethread_workqueue(name) \ | 254 | #define create_singlethread_workqueue(name) \ |
255 | __create_workqueue((name), WQ_SINGLE_THREAD, 1) | 255 | __create_workqueue((name), WQ_SINGLE_CPU, 1) |
256 | 256 | ||
257 | extern void destroy_workqueue(struct workqueue_struct *wq); | 257 | extern void destroy_workqueue(struct workqueue_struct *wq); |
258 | 258 | ||