diff options
| author | Daniel Jordan <daniel.m.jordan@oracle.com> | 2019-09-05 21:40:22 -0400 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-09-13 07:15:39 -0400 |
| commit | 513c98d08682957cc9eba20e7e4bb349970711f3 (patch) | |
| tree | 15fba419dc07d2f47e81482999fac01e55b5ed10 /kernel/workqueue.c | |
| 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 <daniel.m.jordan@oracle.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/workqueue.c')
| -rw-r--r-- | kernel/workqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 601d61150b65..f53705ff3ff1 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
| @@ -3329,7 +3329,7 @@ EXPORT_SYMBOL_GPL(execute_in_process_context); | |||
| 3329 | * | 3329 | * |
| 3330 | * Undo alloc_workqueue_attrs(). | 3330 | * Undo alloc_workqueue_attrs(). |
| 3331 | */ | 3331 | */ |
| 3332 | static void free_workqueue_attrs(struct workqueue_attrs *attrs) | 3332 | void free_workqueue_attrs(struct workqueue_attrs *attrs) |
| 3333 | { | 3333 | { |
| 3334 | if (attrs) { | 3334 | if (attrs) { |
| 3335 | free_cpumask_var(attrs->cpumask); | 3335 | free_cpumask_var(attrs->cpumask); |
| @@ -3345,7 +3345,7 @@ static void free_workqueue_attrs(struct workqueue_attrs *attrs) | |||
| 3345 | * | 3345 | * |
| 3346 | * Return: The allocated new workqueue_attr on success. %NULL on failure. | 3346 | * Return: The allocated new workqueue_attr on success. %NULL on failure. |
| 3347 | */ | 3347 | */ |
| 3348 | static struct workqueue_attrs *alloc_workqueue_attrs(void) | 3348 | struct workqueue_attrs *alloc_workqueue_attrs(void) |
| 3349 | { | 3349 | { |
| 3350 | struct workqueue_attrs *attrs; | 3350 | struct workqueue_attrs *attrs; |
| 3351 | 3351 | ||
| @@ -4032,7 +4032,7 @@ static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, | |||
| 4032 | * | 4032 | * |
| 4033 | * Return: 0 on success and -errno on failure. | 4033 | * Return: 0 on success and -errno on failure. |
| 4034 | */ | 4034 | */ |
| 4035 | static int apply_workqueue_attrs(struct workqueue_struct *wq, | 4035 | int apply_workqueue_attrs(struct workqueue_struct *wq, |
| 4036 | const struct workqueue_attrs *attrs) | 4036 | const struct workqueue_attrs *attrs) |
| 4037 | { | 4037 | { |
| 4038 | int ret; | 4038 | int ret; |
