lkml.org 
[lkml]   [2010]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/5] percpu: add missing markups in kernel/workqueue.c
Date

Signed-off-by: Namhyung Kim <namhyung@gmail.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


\
 
 \ /
  Last update: 2010-08-06 20:29    [W:0.040 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site