diff options
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 1ac11586a2f..f7998a3bf02 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -250,7 +250,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }  enum {  	WQ_NON_REENTRANT	= 1 << 0, /* guarantee non-reentrance */  	WQ_UNBOUND		= 1 << 1, /* not bound to any cpu */ -	WQ_FREEZEABLE		= 1 << 2, /* freeze during suspend */ +	WQ_FREEZABLE		= 1 << 2, /* freeze during suspend */  	WQ_MEM_RECLAIM		= 1 << 3, /* may be used for memory reclaim */  	WQ_HIGHPRI		= 1 << 4, /* high priority */  	WQ_CPU_INTENSIVE	= 1 << 5, /* cpu instensive workqueue */ @@ -318,7 +318,7 @@ __alloc_workqueue_key(const char *name, unsigned int flags, int max_active,  /**   * alloc_ordered_workqueue - allocate an ordered workqueue   * @name: name of the workqueue - * @flags: WQ_* flags (only WQ_FREEZEABLE and WQ_MEM_RECLAIM are meaningful) + * @flags: WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful)   *   * Allocate an ordered workqueue.  An ordered workqueue executes at   * most one work item at any given time in the queued order.  They are @@ -335,8 +335,8 @@ alloc_ordered_workqueue(const char *name, unsigned int flags)  #define create_workqueue(name)					\  	alloc_workqueue((name), WQ_MEM_RECLAIM, 1) -#define create_freezeable_workqueue(name)			\ -	alloc_workqueue((name), WQ_FREEZEABLE | WQ_UNBOUND | WQ_MEM_RECLAIM, 1) +#define create_freezable_workqueue(name)			\ +	alloc_workqueue((name), WQ_FREEZABLE | WQ_UNBOUND | WQ_MEM_RECLAIM, 1)  #define create_singlethread_workqueue(name)			\  	alloc_workqueue((name), WQ_UNBOUND | WQ_MEM_RECLAIM, 1)  |