]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
workqueue: add missing __percpu markup in kernel/workqueue.c
authorNamhyung Kim <namhyung@gmail.com>
Sun, 8 Aug 2010 12:24:09 +0000 (14:24 +0200)
committerTejun Heo <tj@kernel.org>
Sun, 8 Aug 2010 12:24:09 +0000 (14:24 +0200)
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>
kernel/workqueue.c

index 9ca34cddaf6d961c1e07bee9080ff4dd6be1338e..da6c482944d7df998d3838061e49f6af5aceea71 100644 (file)
@@ -2568,7 +2568,7 @@ EXPORT_SYMBOL(schedule_delayed_work_on);
 int schedule_on_each_cpu(work_func_t func)
 {
        int cpu;
-       struct work_struct *works;
+       struct work_struct __percpu *works;
 
        works = alloc_percpu(struct work_struct);
        if (!works)