diff options
| author | Ingo Molnar <mingo@kernel.org> | 2015-02-24 02:41:07 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2015-02-24 02:41:07 -0500 |
| commit | 2ae79026818e7d49fead82b79b1a543e3b9c8a23 (patch) | |
| tree | c7ee7bd8b37b0880918d361839fd95988fac2dac /kernel/workqueue.c | |
| parent | 1a99367023f6ac664365a37fa508b059e31d0e88 (diff) | |
| parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
Merge tag 'v4.0-rc1' into locking/core, to refresh the tree before merging new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
| -rw-r--r-- | kernel/workqueue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index beeeac9e0e3e..f28849394791 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
| @@ -3083,10 +3083,9 @@ static ssize_t wq_cpumask_show(struct device *dev, | |||
| 3083 | int written; | 3083 | int written; |
| 3084 | 3084 | ||
| 3085 | mutex_lock(&wq->mutex); | 3085 | mutex_lock(&wq->mutex); |
| 3086 | written = cpumask_scnprintf(buf, PAGE_SIZE, wq->unbound_attrs->cpumask); | 3086 | written = scnprintf(buf, PAGE_SIZE, "%*pb\n", |
| 3087 | cpumask_pr_args(wq->unbound_attrs->cpumask)); | ||
| 3087 | mutex_unlock(&wq->mutex); | 3088 | mutex_unlock(&wq->mutex); |
| 3088 | |||
| 3089 | written += scnprintf(buf + written, PAGE_SIZE - written, "\n"); | ||
| 3090 | return written; | 3089 | return written; |
| 3091 | } | 3090 | } |
| 3092 | 3091 | ||
