lkml.org 
[lkml]   [2010]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] padata: add missing __percpu markup in include/linux/padata.h
    Date
    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


    \
     
     \ /
      Last update: 2010-08-07 18:49    [W:0.022 / U:35.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site