diff options
| author | Daniel Jordan <[email protected]> | 2019-09-05 21:40:22 -0400 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-09-13 21:15:39 +1000 |
| commit | 513c98d08682957cc9eba20e7e4bb349970711f3 (patch) | |
| tree | 15fba419dc07d2f47e81482999fac01e55b5ed10 /include/linux/workqueue.h | |
| parent | b128a30409356df65f1a51cff3eb986cac8cfedc (diff) | |
workqueue: unconfine alloc/apply/free_workqueue_attrs()
padata will use these these interfaces in a later patch, so unconfine them.
Signed-off-by: Daniel Jordan <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Acked-by: Steffen Klassert <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index b7c585b5ec1c..4261d1c6e87b 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -435,6 +435,10 @@ struct workqueue_struct *alloc_workqueue(const char *fmt, extern void destroy_workqueue(struct workqueue_struct *wq); +struct workqueue_attrs *alloc_workqueue_attrs(void); +void free_workqueue_attrs(struct workqueue_attrs *attrs); +int apply_workqueue_attrs(struct workqueue_struct *wq, + const struct workqueue_attrs *attrs); int workqueue_set_unbound_cpumask(cpumask_var_t cpumask); extern bool queue_work_on(int cpu, struct workqueue_struct *wq, |
