[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1281119187-12640-3-git-send-email-namhyung@gmail.com>
Date: Sat, 7 Aug 2010 03:26:25 +0900
From: Namhyung Kim <namhyung@...il.com>
To: tj@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 3/5] percpu: add missing markups in kernel/workqueue.c
Signed-off-by: Namhyung Kim <namhyung@...il.com>
---
kernel/workqueue.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 327d2de..bb030e3 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -57,7 +57,7 @@ struct cpu_workqueue_struct {
* per-CPU workqueues:
*/
struct workqueue_struct {
- struct cpu_workqueue_struct *cpu_wq;
+ struct cpu_workqueue_struct __percpu *cpu_wq;
struct list_head list;
const char *name;
int singlethread;
@@ -821,7 +821,7 @@ int schedule_on_each_cpu(work_func_t func)
{
int cpu;
int orig = -1;
- 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