lkml.org 
[lkml]   [2010]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/4] dmaengine: correct onstack wait_queue_head declaration
    Date
    Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy

    Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
    Cc: Dan Williams <dan.j.williams@intel.com>
    Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
    ---
    drivers/dma/dmatest.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c
    index 8b90516..948d563 100644
    --- a/drivers/dma/dmatest.c
    +++ b/drivers/dma/dmatest.c
    @@ -467,7 +467,7 @@ err_srcs:

    if (iterations > 0)
    while (!kthread_should_stop()) {
    - DECLARE_WAIT_QUEUE_HEAD(wait_dmatest_exit);
    + DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wait_dmatest_exit);
    interruptible_sleep_on(&wait_dmatest_exit);
    }

    --
    1.6.3.3


    \
     
     \ /
      Last update: 2010-02-05 14:55    [W:0.020 / U:29.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site