Commit 38f51568 authored by Namhyung Kim's avatar Namhyung Kim Committed by Tejun Heo

workqueue: add missing __percpu markup in kernel/workqueue.c

works in schecule_on_each_cpu() is a percpu pointer but was missing
__percpu markup.  Add it.
Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 2d530569
...@@ -2568,7 +2568,7 @@ EXPORT_SYMBOL(schedule_delayed_work_on); ...@@ -2568,7 +2568,7 @@ EXPORT_SYMBOL(schedule_delayed_work_on);
int schedule_on_each_cpu(work_func_t func) int schedule_on_each_cpu(work_func_t func)
{ {
int cpu; int cpu;
struct work_struct *works; struct work_struct __percpu *works;
works = alloc_percpu(struct work_struct); works = alloc_percpu(struct work_struct);
if (!works) if (!works)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment