aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 95aea04ff722..b8fa7afe6e7d 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 */
3332void free_workqueue_attrs(struct workqueue_attrs *attrs) 3332static 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);
@@ -3346,7 +3346,7 @@ void free_workqueue_attrs(struct workqueue_attrs *attrs)
3346 * 3346 *
3347 * Return: The allocated new workqueue_attr on success. %NULL on failure. 3347 * Return: The allocated new workqueue_attr on success. %NULL on failure.
3348 */ 3348 */
3349struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask) 3349static struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask)
3350{ 3350{
3351 struct workqueue_attrs *attrs; 3351 struct workqueue_attrs *attrs;
3352 3352
@@ -4033,7 +4033,7 @@ static int apply_workqueue_attrs_locked(struct workqueue_struct *wq,
4033 * 4033 *
4034 * Return: 0 on success and -errno on failure. 4034 * Return: 0 on success and -errno on failure.
4035 */ 4035 */
4036int apply_workqueue_attrs(struct workqueue_struct *wq, 4036static int apply_workqueue_attrs(struct workqueue_struct *wq,
4037 const struct workqueue_attrs *attrs) 4037 const struct workqueue_attrs *attrs)
4038{ 4038{
4039 int ret; 4039 int ret;
@@ -4044,7 +4044,6 @@ int apply_workqueue_attrs(struct workqueue_struct *wq,
4044 4044
4045 return ret; 4045 return ret;
4046} 4046}
4047EXPORT_SYMBOL_GPL(apply_workqueue_attrs);
4048 4047
4049/** 4048/**
4050 * wq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug 4049 * wq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug