padata: add missing __percpu markup in include/linux/padata.h
authorNamhyung Kim <namhyung@gmail.com>
Fri, 3 Sep 2010 11:09:46 +0000 (19:09 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Sep 2010 11:09:46 +0000 (19:09 +0800)
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>
include/linux/padata.h

index bdcd1e9..4633b2f 100644 (file)
@@ -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;