Mailing List Archive

[PATCH] [9/11] Convert hpet to unlocked_fasync
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>

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,
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[PATCH] [9/11] Convert hpet to unlocked_fasync [ In reply to ]
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,
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] [9/11] Convert hpet to unlocked_fasync [ In reply to ]
Andi Kleen wrote:
> 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>

Acked-by: Clemens Ladisch <clemens@ladisch.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/