Skip to content

Commit

Permalink
padata: add missing __percpu markup in include/linux/padata.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
namhyung authored and herbertx committed Sep 3, 2010
1 parent 48fc267 commit 57a2ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/padata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 57a2ce5

Please sign in to comment.