[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1281189239-14600-1-git-send-email-namhyung@gmail.com>
Date: Sat, 7 Aug 2010 22:53:59 +0900
From: Namhyung Kim <namhyung@...il.com>
To: tj@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] workqueue: add missing __percpu markup in kernel/workqueue.c
works is a percpu pointer but was missing __percpu markup.
Add it.
Signed-off-by: Namhyung Kim <namhyung@...il.com>
---
kernel/workqueue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index e2eb351..334a9e0 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2553,7 +2553,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)
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists