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>
This commit is contained in:
Namhyung Kim 2010-08-08 14:24:09 +02:00 committed by Tejun Heo
parent 2d53056973
commit 38f5156800

View 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)