lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[9/10 PATCH] inline dm-kcopyd-inline-wake.patch

    Inline wake. Just passes arguments around.

    Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

    Index: linux-2.6.26-rc7-devel/drivers/md/dm-kcopyd.c
    ===================================================================
    --- linux-2.6.26-rc7-devel.orig/drivers/md/dm-kcopyd.c 2008-06-24 07:28:06.000000000 +0200
    +++ linux-2.6.26-rc7-devel/drivers/md/dm-kcopyd.c 2008-06-24 07:37:54.000000000 +0200
    @@ -61,7 +61,7 @@
    struct list_head pages_jobs;
    };

    -static void wake(struct dm_kcopyd_client *kc)
    +static __always_inline void wake(struct dm_kcopyd_client *kc)
    {
    queue_work(kc->kcopyd_wq, &kc->kcopyd_work);
    }

    \
     
     \ /
      Last update: 2008-06-24 08:05    [W:0.021 / U:0.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site