public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] padata: add missing __percpu markup in include/linux/padata.h
@ 2010-08-07 16:47 Namhyung Kim
  2010-08-07 19:36 ` Tejun Heo
  2010-08-11 18:29 ` Steffen Klassert
  0 siblings, 2 replies; 6+ messages in thread
From: Namhyung Kim @ 2010-08-07 16:47 UTC (permalink / raw)
  To: Herbert Xu, Steffen Klassert; +Cc: Tejun Heo, linux-kernel

parallel_data->queue is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 include/linux/padata.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/include/linux/padata.h b/include/linux/padata.h
index 8d84062..67df560 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -96,15 +96,15 @@ struct padata_queue {
  * @timer: Reorder timer.
  */
 struct parallel_data {
-	struct padata_instance	*pinst;
-	struct padata_queue	*queue;
-	atomic_t		seq_nr;
-	atomic_t		reorder_objects;
-	atomic_t                refcnt;
-	unsigned int		max_seq_nr;
-	cpumask_var_t		cpumask;
-	spinlock_t              lock;
-	struct timer_list       timer;
+	struct padata_instance		*pinst;
+	struct padata_queue __percpu	*queue;
+	atomic_t			seq_nr;
+	atomic_t			reorder_objects;
+	atomic_t                	refcnt;
+	unsigned int			max_seq_nr;
+	cpumask_var_t			cpumask;
+	spinlock_t              	lock;
+	struct timer_list       	timer;
 };
 
 /**
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-03 11:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 16:47 [PATCH] padata: add missing __percpu markup in include/linux/padata.h Namhyung Kim
2010-08-07 19:36 ` Tejun Heo
2010-08-11 18:29 ` Steffen Klassert
2010-08-12 10:54   ` [PATCH resend] " Namhyung Kim
2010-08-16  7:13     ` Steffen Klassert
2010-09-03 11:10       ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox