lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [9/11] Convert hpet to unlocked_fasync
    Date

    Just calls fasync_helper and private structure is protected by
    file reference count.

    Cc: clemens@ladisch.de
    Signed-off-by: Andi Kleen <ak@linux.intel.com>

    ---
    drivers/char/hpet.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: linux/drivers/char/hpet.c
    ===================================================================
    --- linux.orig/drivers/char/hpet.c
    +++ linux/drivers/char/hpet.c
    @@ -585,7 +585,7 @@ static const struct file_operations hpet
    .ioctl = hpet_ioctl,
    .open = hpet_open,
    .release = hpet_release,
    - .fasync = hpet_fasync,
    + .unlocked_fasync = hpet_fasync,
    .mmap = hpet_mmap,
    };


    \
     
     \ /
      Last update: 2008-05-20 17:33    [W:0.019 / U:59.468 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site