summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-09-03 19:09:46 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-09-03 19:09:46 +0800
commit57a2ce5f54f3120467be760662c6ef3bea3f9579 (patch)
treecef0f557d19ecfe0009323f8cc08e7d97709917e
parent48fc267ee6f34f67db42a49f386fdd367cac6f8a (diff)
downloadkernel-mfld-blackbay-57a2ce5f54f3120467be760662c6ef3bea3f9579.tar.gz
kernel-mfld-blackbay-57a2ce5f54f3120467be760662c6ef3bea3f9579.tar.bz2
kernel-mfld-blackbay-57a2ce5f54f3120467be760662c6ef3bea3f9579.zip
padata: add missing __percpu markup in include/linux/padata.h
parallel_data->queue is a percpu pointer but was missing __percpu markup. Add it. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--include/linux/padata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h
index bdcd1e9eace..4633b2f726b 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -127,8 +127,8 @@ struct padata_cpumask {
*/
struct parallel_data {
struct padata_instance *pinst;
- struct padata_parallel_queue *pqueue;
- struct padata_serial_queue *squeue;
+ struct padata_parallel_queue __percpu *pqueue;
+ struct padata_serial_queue __percpu *squeue;
atomic_t seq_nr;
atomic_t reorder_objects;
atomic_t refcnt;