diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-08-08 08:24:09 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-08-08 08:24:09 -0400 |
commit | 38f51568005873a241a8ae6bf28c9ddd3f6a11ed (patch) | |
tree | 88adaff7c44514bf3bc2610473d4b7fc266178c6 | |
parent | 2d53056973079e6c2ffc0d7ae3afbdd3d4f18ae3 (diff) |
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: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 9ca34cddaf6d..da6c482944d7 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2568,7 +2568,7 @@ EXPORT_SYMBOL(schedule_delayed_work_on); | |||
2568 | int schedule_on_each_cpu(work_func_t func) | 2568 | int schedule_on_each_cpu(work_func_t func) |
2569 | { | 2569 | { |
2570 | int cpu; | 2570 | int cpu; |
2571 | struct work_struct *works; | 2571 | struct work_struct __percpu *works; |
2572 | 2572 | ||
2573 | works = alloc_percpu(struct work_struct); | 2573 | works = alloc_percpu(struct work_struct); |
2574 | if (!works) | 2574 | if (!works) |